qtty
User-facing crate providing strongly typed units and conversions.
This crate re-exports:
- the core type system from
qtty-core(Quantity,Unit,Per, …) - predefined units grouped by module (
angular,time,length,mass,power,velocity,frequency,unitless)
Install
[]
= "0.1.0"
Example
use ;
let a = new;
let r = a.;
assert!;
Features
std(default): enablesstdsupport inqtty-core.serde: enablesserdesupport forQuantity<U>.
License
AGPL-3.0 (see ../LICENSE).