[[bin]]
name = "format-measure-n-d"
path = "src/bin/format-measure-n-d.rs"
[dependencies]
[dev-dependencies.faer]
version = "0.23.2"
[dev-dependencies.nalgebra]
version = "0.34.1"
[dev-dependencies.ndarray]
version = "0.16.1"
[dev-dependencies.num-traits]
version = "0.2.19"
[dev-dependencies.rand]
version = "0.9.2"
[dev-dependencies.trybuild]
version = "1.0.111"
[[example]]
name = "air-mass-measures"
path = "examples/air-mass-measures.rs"
[[example]]
name = "air-mass-naked"
path = "examples/air-mass-naked.rs"
[[example]]
name = "base"
path = "examples/base.rs"
[[example]]
name = "bench"
path = "examples/bench.rs"
[[example]]
name = "full"
path = "examples/full.rs"
[[example]]
name = "haversine-measures"
path = "examples/haversine-measures.rs"
[[example]]
name = "haversine-naked"
path = "examples/haversine-naked.rs"
[[example]]
name = "matrix-mul"
path = "examples/matrix-mul.rs"
[[example]]
name = "mks"
path = "examples/mks.rs"
[[example]]
name = "nbody-approx-measures"
path = "examples/nbody-approx-measures.rs"
[[example]]
name = "nbody-measures"
path = "examples/nbody-measures.rs"
[[example]]
name = "nbody-naked"
path = "examples/nbody-naked.rs"
[[example]]
name = "resistor-mesh-measures"
path = "examples/resistor-mesh-measures.rs"
[[example]]
name = "resistor-mesh-naked"
path = "examples/resistor-mesh-naked.rs"
[[example]]
name = "si"
path = "examples/si.rs"
[[example]]
name = "user_defined_unit"
path = "examples/user_defined_unit.rs"
[lib]
name = "measures"
path = "src/lib.rs"
[package]
authors = ["Carlo Milanesi <carlo.milanesi@libero.it>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A Rust macro to generate a library to statically encapsulate numbers in objects having a unit of measurement, allowing any meaningful operation, but statically forbidding meaningless operations with them. Optionally, measures have uncertainties, which are propagated in every operation."
edition = "2018"
license = "MIT OR Apache-2.0"
name = "measures-rs"
publish = true
readme = "README.md"
repository = "https://github.com/carlomilanesi/measures-rs"
version = "0.1.2"
[[test]]
name = "angles_decl"
path = "tests/angles_decl.rs"
[[test]]
name = "approx"
path = "tests/approx/main.rs"
[[test]]
name = "define_units_relationship"
path = "tests/define_units_relationship.rs"
[[test]]
name = "disallowed_operations"
path = "tests/disallowed_operations.rs"
[[test]]
name = "exact"
path = "tests/exact/main.rs"
[[test]]
name = "test_angles_consts"
path = "tests/test_angles_consts.rs"