[package]
edition = "2021"
rust-version = "1.85"
name = "rust_iso3166"
version = "0.2.0"
build = false
exclude = ["src/*.py"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ISO 3166-1 (Codes for the representation of names of countries and their subdivisions – Part 1: Country codes) is a standard defining codes for the names of countries, dependent territories, and special areas of geographical interest. It is the first part of the ISO 3166 standard published by the International Organization for Standardization."
documentation = "https://docs.rs/rust_iso3166/"
readme = "README.md"
keywords = [
"ISO3166",
"ISO3166-1",
"ISO3166-2",
"ISO3166-3",
]
license = "Apache-2.0"
repository = "https://github.com/rust-iso/rust_iso3166"
resolver = "1"
[features]
cli = ["dep:prettytable-rs"]
serde = ["dep:serde"]
[lib]
name = "rust_iso3166"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "iso3166"
path = "src/bin/main.rs"
required-features = ["cli"]
[[test]]
name = "test_serde"
path = "tests/test_serde.rs"
[dependencies.phf]
version = "^0.14.0"
features = ["macros"]
[dependencies.prettytable-rs]
version = "^0.10"
optional = true
[dependencies.serde]
version = "^1.0.228"
optional = true
[dev-dependencies.serde_json]
version = "^1.0.150"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "^0.3.77"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "^0.2.100"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "^0.3.50"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(direct_wasm)"]