#country-code #country #iso3166-1 #region

已删除 isocountry-rs

Rust 的 ISO 3166-1 枚举

使用旧的 Rust 2015

0.1.0 2018年6月20日

#10 in #iso3166-1

MIT 许可证

125KB
3K SLoC

isocountry-rs

提供所有由 ISO 3166-1 定义的国家的枚举 CountryCode

每个 CountryCode 都可以转换为和它的 alpha-2alpha-3 表示形式,以及它的数字代码。此外,还可以获得每个 CountryCode 的英语名称,这是由 ISO 3166-1 定义的。

isocountry-rs 遵循 Rust 的 stable 版本。

依赖项

~64KB