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

no-std icao-units

Units for air navigation as defined in ICAO Annex 5

5 releases

0.2.0 Jan 5, 2025
0.1.3 Feb 7, 2024
0.1.2 Feb 6, 2024
0.1.1 Feb 5, 2024
0.1.0 Feb 4, 2024

#96 in No standard library

Download history 12/week @ 2024-09-22 3/week @ 2024-09-29 2/week @ 2024-10-13 1/week @ 2024-10-20 1/week @ 2024-11-17 18/week @ 2024-12-08 11/week @ 2024-12-15 15/week @ 2024-12-22 3/week @ 2024-12-29 178/week @ 2025-01-05

207 downloads per month
Used in 2 crates

MIT license

21KB
235 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