use-precipitation 0.1.0

Primitive precipitation vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    36 out of 36 items documented1 out of 12 items with examples
  • Size
  • Source code size: 13.38 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 804.87 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s 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-precipitation

Primitive precipitation vocabulary.

use-precipitation models precipitation kinds, intensity labels, amounts, and rates. It does not process radar data, forecast precipitation, or implement hydrology and alerting logic.

use use_precipitation::{PrecipitationAmount, PrecipitationIntensity, PrecipitationKind};

let amount = PrecipitationAmount::new(6.5).unwrap();

assert_eq!(amount.millimeters(), 6.5);
assert_eq!(PrecipitationKind::Snow.to_string(), "snow");
assert_eq!(PrecipitationIntensity::Light.to_string(), "light");