dyn_quantity 0.5.8

Representing physical quantities dynamically (i.e. via values, not via the type system)
Documentation
# 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 = "2024"
name = "dyn_quantity"
version = "0.5.8"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Representing physical quantities dynamically (i.e. via values, not via the type system)"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/StefanMathis/dyn_quantity.git"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "uom",
    "from_str",
    "serde",
]

[features]
default = []
from_str = ["dep:dyn_quantity_lexer"]
serde = [
    "dep:serde",
    "dep:deserialize_untagged_verbose_error",
    "num/serde",
    "uom?/serde",
]
uom = ["dep:uom"]

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

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

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

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

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

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

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

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

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

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

[dependencies.deserialize_untagged_verbose_error]
version = "0.1.5"
optional = true

[dependencies.dyn_quantity_lexer]
version = "0.1"
optional = true

[dependencies.num]
version = "0.4"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.uom]
version = "0.36"
features = [
    "f64",
    "complex64",
    "si",
    "std",
    "serde",
]
optional = true
default-features = false

[dev-dependencies.approx]
version = "0.6"
package = "approxim"

[dev-dependencies.indoc]
version = "1.0"

[dev-dependencies.serde_yaml]
version = "0.8"