# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85"
name = "drv"
version = "0.3.1"
authors = ["Martin Algesten <martin@algesten.se>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derived, memoized values over plain structs"
homepage = "https://github.com/algesten/drv"
readme = "README.md"
keywords = [
    "memoization",
    "incremental",
    "derive",
    "cache",
    "reactive",
]
categories = [
    "caching",
    "data-structures",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/algesten/drv"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
imbl = ["dep:imbl"]

[lib]
name = "drv"
path = "src/lib.rs"

[[test]]
name = "bounds_relaxation"
path = "tests/bounds_relaxation.rs"

[[test]]
name = "macro_tests"
path = "tests/macro_tests.rs"

[dependencies.drv-macros]
version = "=0.3.1"

[dependencies.imbl]
version = "7.0.0"
optional = true

[dev-dependencies.imbl]
version = "7.0.0"

[lints.rust]
dead_code = "forbid"
