# 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 = "quantities" version = "0.13.2" authors = ["Michael Amrhein "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Unit-safe computations with quantities." homepage = "https://github.com/mamrhein/quantities.rs" documentation = "https://docs.rs/quantities/" readme = "README.md" keywords = [ "quantity", "unit", "unit-safe", "measure", "arithmetics", ] categories = [ "data-structures", "mathematics", ] license-file = "LICENSE.TXT" repository = "https://github.com/mamrhein/quantities.rs" [package.metadata.docs.rs] features = ["doc"] [lib] name = "quantities" path = "src/lib.rs" [[test]] name = "macro_tests" path = "tests/macro_tests.rs" [[test]] name = "test_qty" path = "tests/test_qty.rs" [[test]] name = "test_rate" path = "tests/test_rate.rs" [[test]] name = "test_serde" path = "tests/test_serde.rs" [dependencies.fpdec] version = "0.10" optional = true [dependencies.qty-macros] version = "0.13.0" [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.serde] version = "1" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.trybuild] version = "1" [features] acceleration = [ "speed", "duration", ] area = ["length"] datathroughput = [ "datavolume", "duration", ] datavolume = [] default = ["std"] doc = [ "mass", "length", "duration", "area", "volume", "speed", "acceleration", "force", "energy", "power", "frequency", "datavolume", "datathroughput", "temperature", ] duration = [] energy = [ "force", "length", ] force = [ "mass", "acceleration", ] frequency = ["duration"] length = [] mass = [] power = [ "energy", "duration", ] serde = [ "dep:serde", "fpdec?/serde-as-str", ] speed = [ "length", "duration", ] std = [] temperature = [] volume = ["area"]