[dependencies.culit]
version = "0.6.0"
[dependencies.libm]
version = "0.2"
[dependencies.num-traits]
version = "0.2"
[dependencies.op_result]
version = "0.5.8"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.serde]
default-features = false
features = ["alloc", "derive"]
version = "1.0"
[dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1.0"
[dependencies.syn]
features = ["full"]
version = "2.0"
[dependencies.whippyunits-core]
version = "0.1.0"
[dependencies.whippyunits-proc-macros]
version = "0.1.0"
[dev-dependencies.trybuild]
version = "1.0"
[[example]]
name = "affine_units"
path = "examples/foreign_units/affine_units.rs"
[[example]]
name = "angular_erasure"
path = "examples/erasure/angular_erasure.rs"
[[example]]
name = "arithmetic"
path = "examples/operations/arithmetic.rs"
[[example]]
name = "branded_declarators"
path = "examples/custom_declarators/branded_declarators.rs"
[[example]]
name = "centripetal_acceleration"
path = "examples/generics/centripetal_acceleration.rs"
[[example]]
name = "common_errors"
path = "examples/getting_started/common_errors.rs"
[[example]]
name = "comparison"
path = "examples/operations/comparison.rs"
[[example]]
name = "concepts"
path = "examples/getting_started/concepts.rs"
[[example]]
name = "declarators"
path = "examples/getting_started/declarators.rs"
[[example]]
name = "deserialization"
path = "examples/serialization/deserialization.rs"
[[example]]
name = "filter"
path = "examples/generics/filter.rs"
[[example]]
name = "nonstorage_units"
path = "examples/foreign_units/nonstorage_units.rs"
[[example]]
name = "pid_controller"
path = "examples/generics/pid_controller.rs"
[[example]]
name = "rescale_targeting"
path = "examples/type_assertions/rescale_targeting.rs"
[[example]]
name = "rescaling"
path = "examples/operations/rescaling.rs"
[[example]]
name = "rescaling_declarators"
path = "examples/custom_declarators/rescaling_declarators.rs"
[[example]]
name = "safe_mult_div"
path = "examples/type_assertions/safe_mult_div.rs"
[[example]]
name = "scalar_erasure"
path = "examples/erasure/scalar_erasure.rs"
[[example]]
name = "serialization"
path = "examples/serialization/serialization.rs"
[[example]]
name = "storage_types"
path = "examples/getting_started/storage_types.rs"
[[example]]
name = "value_access"
path = "examples/operations/value_access.rs"
[features]
default = ["std", "strict"]
left_hand_wins = []
smaller_wins = []
std = []
strict = []
[lib]
name = "whippyunits"
path = "src/lib.rs"
[package]
authors = ["Oblarg"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["science", "no-std", "development-tools"]
description = "A zero-cost, pure rust units-of-measure library for applied computation"
edition = "2024"
keywords = ["units", "measurement", "dimensional", "SI", "whippyunits"]
license = "MIT OR Apache-2.0"
name = "whippyunits"
readme = "README.md"
repository = "https://github.com/WhippyUnits/whippyunits-rs"
version = "0.1.2"
[profile.dev]
incremental = false
[profile.release]
incremental = false
[[test]]
name = "arithmetic_tests"
path = "tests/arithmetic_tests.rs"
[[test]]
name = "comparison_tests"
path = "tests/comparison_tests.rs"
[[test]]
name = "compile_fail_tests"
path = "tests/compile_fail_tests.rs"
[[test]]
name = "simple_culit_test"
path = "tests/simple_culit_test.rs"
[[test]]
name = "test_format_method"
path = "tests/test_format_method.rs"
[[test]]
name = "test_local_quantity"
path = "tests/test_local_quantity.rs"
[[test]]
name = "test_shortname_literals"
path = "tests/test_shortname_literals.rs"
[[test]]
name = "test_value_macro"
path = "tests/test_value_macro.rs"