use-humidity 0.1.0

Primitive humidity vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    21 out of 21 items documented1 out of 10 items with examples
  • Size
  • Source code size: 9.74 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 624.74 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-meteorology
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-humidity

Primitive humidity vocabulary.

use-humidity models relative humidity, specific humidity, and stable humidity kind labels. It does not calculate psychrometric values, vapor pressure, or thermodynamic humidity models.

use use_humidity::{HumidityKind, RelativeHumidity, SpecificHumidity};

let relative = RelativeHumidity::new(72.5).unwrap();
let specific = SpecificHumidity::new(0.009).unwrap();

assert_eq!(relative.percent(), 72.5);
assert_eq!(specific.kilograms_per_kilogram(), 0.009);
assert_eq!(HumidityKind::Relative.to_string(), "relative");