Crates.io | aircraft_icao_country |
lib.rs | aircraft_icao_country |
version | 1.0.4 |
source | src |
created_at | 2023-04-20 05:58:02.947603 |
updated_at | 2023-11-27 00:26:03.103848 |
description | Library of aircraft ICAO codes and their country of origin. |
homepage | |
repository | https://github.com/wiseman/aircraft_icao_country |
max_upload_size | |
id | 844122 |
size | 786,325 |
A Rust library for finding the country of origin for an ICAO hex ID.
Add the following to your Cargo.toml
:
[dependencies]
aircraft_icao_country = "1.0.4"
use aircraft_icao_country::Allocs;
let allocs = Allocs::new();
assert_eq!(allocs.find_from_hex("a67bd3"), Some("United States"));
For more examples and usage details, please refer to the documentation.
This project is licensed under the MIT License. See the LICENSE file for more information.
John Wiseman jjwiseman@gmail.com/lemonodor