Crates.io | iso-rs |
lib.rs | iso-rs |
version | 0.1.4 |
source | src |
created_at | 2021-06-17 12:29:50.213288 |
updated_at | 2024-04-09 16:55:09.292778 |
description | A crate to query ISO data, which includes countries, currencies, etc. |
homepage | |
repository | |
max_upload_size | |
id | 411336 |
size | 518,580 |
ISO-rs provides methods to query ISO country data. This includes
use iso_rs::prelude::*;
let country = Country::from_name("India").unwrap();
assert_eq!(country.capital.unwrap(), "New Delhi");
MIT