Registry / utility / iso-country

iso-country

JSON →
library0.1.4rscratesunverified

Provides ISO 3166-1 country codes and names.

# Cargo.toml [dependencies] iso_country = "0.1.4"
INSTALL
IMPORT
SIG · ISO-COUNTRY
I
iso-country
utilityrustv0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Country
use iso_country::Country;

Gets the name of a country from its ISO code.

use iso_country::Country; fn main() { let country = Country::USA; println!("Country: {:?}", country.name()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
iso-country — cargo add iso-country · libregistry