[package]
edition = "2021"
rust-version = "1.70.0"
name = "locode"
version = "0.2.0"
authors = ["Hantong Chen <cxwdyx620@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standardized country and city codes"
readme = "README.md"
keywords = [
"iso3166",
"iata",
]
license = "Unlicense"
repository = "https://github.com/hanyu-dev/locode"
[features]
_dev_build_fresh = []
_feat_alloc = []
_feat_std = ["_feat_alloc"]
default = [
"feat-iso3166",
"feat-iata-city",
]
feat-build-fresh = ["_dev_build_fresh"]
feat-iata-city = []
feat-iata-city-country = ["feat-iata-city"]
feat-iata-city-from-code = [
"feat-iata-city",
"dep:foldhash",
"_feat_std",
]
feat-iata-city-name = ["feat-iata-city"]
feat-iata-city-time-zone = ["feat-iata-city"]
feat-iso3166 = []
feat-iso3166-full-name-en = ["feat-iso3166"]
feat-iso3166-short-name-en = ["feat-iso3166"]
feat-iso3166-short-name-uppercase-en = ["feat-iso3166"]
feat-iso3166-short-name-zh = ["feat-iso3166"]
[lib]
name = "locode"
path = "src/lib.rs"
[dependencies.foldhash]
version = "0.2.0"
optional = true
[build-dependencies.csv]
version = "1.4"
[build-dependencies.serde]
version = "1.0"
[build-dependencies.serde_derive]
version = "1.0"
[profile.dev]
debug = 0
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
incremental = false
strip = true