ISO-rs provides methods to query ISO country data. This includes
- names
- capitals
- regions
- alpha 2 codes
- alpha 3 codes
- timezones
- currencies
- languages
- call codes
use iso_rs::prelude::*;
let country = Country::from_name("India").unwrap();
assert_eq!(country.capital.unwrap(), "New Delhi");
MIT