# 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 = "dimensional_quantity" version = "0.1.6" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Check units of measure at compile time using generic const expressions" homepage = "https://github.com/crystal-growth/dimensional_quantity" documentation = "https://docs.rs/dimensional_quantity" readme = "README.md" keywords = [ "units", "dimensions", "quantities", "measurement", "dimensional-analysis", ] categories = ["science"] license = "MIT OR Apache-2.0" repository = "https://github.com/crystal-growth/dimensional_quantity" [lib] name = "dimensional_quantity" path = "src/lib.rs" [dependencies.num-traits] version = "0.2" [dependencies.rust_decimal] version = "1.36" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [build-dependencies.num-traits] version = "0.2" [build-dependencies.serde] version = "1" features = ["derive"] [build-dependencies.toml] version = "0.8" [features] decimal = ["dep:rust_decimal"] use_serde = ["dep:serde"]