Skip to content

dashxhq/iso-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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