# 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" name = "dana" version = "0.4.0" authors = ["J.S. Dreim "] include = [ "CHANGELOG.md", "LICENSE", "/src/**/*.rs", "/tests/**/*.rs", "/tests/**/*.stderr", "/benches/**/*.rs", "!/**/_*.rs", "!/.idea/**", "!/.vscode/**", ] description = "Compile-time dimensional analysis via generic types." documentation = "https://docs.rs/dana" readme = "README.md" keywords = [ "dimensional-analysis", "quantities", "units", "library", "no_std", ] categories = [ "development-tools", "mathematics", "science", "no-std", ] license = "Apache-2.0" repository = "https://github.com/jsdreim/dana" [lib] bench = false [[bench]] name = "qty_basic" harness = false [[bench]] name = "qty_capacitor" harness = false [[bench]] name = "qty_simd" harness = false required-features = [ "rand", "simd", ] [dependencies.chrono] version = "0.4.38" optional = true default-features = false [dependencies.dana_macros] version = "=0.4.0" [dependencies.num-traits] version = "0.2.19" features = ["libm"] default-features = false [dependencies.rand] version = "0.8.5" optional = true default-features = false [dependencies.serde] version = "1.0.203" features = ["derive"] optional = true default-features = false [dependencies.thiserror-no-std] version = "2.0.2" [dependencies.typenum] version = "1.17.0" [dev-dependencies.criterion] version = "0.5.1" features = [ "csv_output", "html_reports", ] [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde_json] version = "1.0.117" [dev-dependencies.trybuild] version = "1.0.96" [features] chrono = ["dep:chrono"] default = [] rand = ["dep:rand"] serde = ["dep:serde"] simd = [] stable = [ "chrono", "rand", "serde", ] unstable = ["simd"] [lints.rust] missing_docs = "warn"