Skip to content

Zitronenjoghurt/world-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

world-data

A rust crate containing country shapes as polygons, capital city positions and more.

Usage

fn main() { let data = world_data::load(); let country_us = data.countries.get("US").unwrap(); println!("{}", country_us.official_name); let capital_de = data.capitals.get("Berlin").unwrap(); println!("{:#?}", capital_de); }

Sources

About

A rust crate containing country shapes as polygons, capital city positions and more.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors