Expand description
§weather-utils
This crate includes a set of common and useful weather-related computations, such as the temperature unit conversions, computations of humidity/temperature related values (absolute humidity, dew point, heat index), computations of barometric pressure related values (altitude)…
If a computation you need is not present, please feel free to ask for it, or even better contribute it ;-)
§Features
- Conversion from °C to °F.
- Conversion from °F to °C.
- Computation of absolute humidity from temperature and relative humidity.
- Computation of altitude from barometric pressure and temperature.
- Computation of dew point.
- Computation of heat index.
§Documentation:
§License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Re-exports§
pub use humidity::AbsoluteHumidity;pub use humidity::Comfort;pub use humidity::HeatIndex;pub use humidity::RelativeHumidity;pub use humidity::TemperatureAndRelativeHumidity;pub use pressure::Altitude;pub use pressure::BarometricPressure;pub use pressure::TemperatureAndBarometricPressure;pub use temperature::Celsius;pub use temperature::Fahrenheit;pub use temperature::Temperature;
Modules§
- humidity
- The humidity types.
- pressure
- The pressure types.
- temperature
- The temperature types (Celsius and Fahrenheit).