#si-units #icao #si #convert #aerospace #units

no-std icao-units

Units for air navigation as defined in ICAO Annex 5

8 releases (2 stable)

Uses new Rust 2024

1.1.0 May 12, 2025
1.0.0 Feb 21, 2025
0.2.1 Feb 19, 2025
0.2.0 Jan 5, 2025
0.1.3 Feb 7, 2024

#81 in No standard library

Download history 6/week @ 2025-03-21 9/week @ 2025-03-28 25/week @ 2025-04-04 41/week @ 2025-04-11 22/week @ 2025-04-18 40/week @ 2025-04-25 18/week @ 2025-05-02 180/week @ 2025-05-09 36/week @ 2025-05-16 3/week @ 2025-05-23 6/week @ 2025-05-30 10/week @ 2025-06-06 10/week @ 2025-06-13 6/week @ 2025-06-20 34/week @ 2025-06-27 49/week @ 2025-07-04

103 downloads per month
Used in 2 crates

MIT license

25KB
433 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–0.8MB
~19K SLoC