https://github.com/sifton/isocountry-rs
ISO-3166-1 Country Codes for Rust
https://github.com/sifton/isocountry-rs
country-codes countrycodes iso3166 iso3166-1 language mit-license rust serde-support
Last synced: 18 days ago
JSON representation
ISO-3166-1 Country Codes for Rust
- Host: GitHub
- URL: https://github.com/sifton/isocountry-rs
- Owner: sifton
- License: mit
- Created: 2018-06-19T22:51:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-01T13:55:33.000Z (over 1 year ago)
- Last Synced: 2025-05-11T10:09:00.535Z (18 days ago)
- Topics: country-codes, countrycodes, iso3166, iso3166-1, language, mit-license, rust, serde-support
- Language: Rust
- Size: 74.2 KB
- Stars: 30
- Watchers: 1
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# isocountry-rs
Provides an enumeration, `CountryCode`, of all [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)-defined countries.
Each `CountryCode` can be converted to and from its `alpha-2` and `alpha-3` representations, as well
as its numeric code. Further, the English names of each `CountryCode`, as defined by ISO 3166-1, can
also be obtained.`isocountry-rs` follows the `stable` release of Rust.