Registry / utility / measurements

measurements

JSON →
library0.11.1rscratesunverified

Handle metric, imperial, and other measurements with ease! Types: Length, Temperature, Weight, Volume, Pressure

# Cargo.toml [dependencies] measurements = "0.11.1"
INSTALL
IMPORT
SIG · MEASUREMENTS
M
measurements
utilityrustv0.11.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Length
use measurements::Length;

Creating a length and converting to feet.

use measurements::Length; fn main() { let length = Length::from_meters(1.0); println!("{}", length.as_feet()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
measurements — cargo add measurements · libregistry