Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 458 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 458 Bytes

iso-rs

MIT license

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

Overview

use iso_rs::prelude::*;

let country = Country::from_name("India").unwrap();
assert_eq!(country.capital.unwrap(), "New Delhi");

LICENSE

MIT