#unit-conversion #units #si-units #conversion #si #aerospace #icao

no-std icao-units

Units for air navigation as defined in ICAO Annex 5

4 releases

0.1.3 Feb 7, 2024
0.1.2 Feb 6, 2024
0.1.1 Feb 5, 2024
0.1.0 Feb 4, 2024

#161 in No standard library


Used in 2 crates

MIT license

22KB
270 lines

icao-units

crates.io docs.io License Rust codecov

Units for air navigation as defined in International Civil Aviation Organization (ICAO) Annex 5.

The library defines:

Design

The library uses the newtype idiom to represent ICAO units and the From trait to convert between SI and non-SI units using the conversion factors defined in ICAO Annex 5 Table 3-3.

The library is declared no_std so it can be used in embedded applications.

Contribution

If you want to contribute through code or documentation, the Contributing guide is the best place to start.
Just please abide by our Code of Conduct.

License

via-units-rs is provided under a MIT license, see LICENSE.

Dependencies

~0.3–1MB
~21K SLoC