iso-rs

Crates.ioiso-rs
lib.rsiso-rs
version0.1.4
sourcesrc
created_at2021-06-17 12:29:50.213288
updated_at2024-04-09 16:55:09.292778
descriptionA crate to query ISO data, which includes countries, currencies, etc.
homepage
repository
max_upload_size
id411336
size518,580
Sumeet Attree (sumeetattree)

documentation

README

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

Commit count: 0

cargo fmt