https://github.com/coder543/metric
This library provides zero-cost dimensional analysis for safe, unit-aware numeric computations in Rust.
https://github.com/coder543/metric
compile-time dimensional-analysis no-std rust unit-aware unit-safety units-of-measure
Last synced: about 1 month ago
JSON representation
This library provides zero-cost dimensional analysis for safe, unit-aware numeric computations in Rust.
- Host: GitHub
- URL: https://github.com/coder543/metric
- Owner: coder543
- License: mit
- Created: 2017-02-03T16:01:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-21T20:10:49.000Z (over 7 years ago)
- Last Synced: 2025-04-14T18:53:11.391Z (about 2 months ago)
- Topics: compile-time, dimensional-analysis, no-std, rust, unit-aware, unit-safety, units-of-measure
- Language: Rust
- Homepage:
- Size: 63.5 KB
- Stars: 24
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
To run the examples, simply clone the repo, then
cargo run --example temp
or
cargo run --example length
to build and run the temperature or length examples, respectively.
Requires [Rust](https://www.rust-lang.org), install using [rustup.rs](https://rustup.rs)