geodb-core 0.1.6

A high-performance geographic database with countries, states, cities, and more
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "geodb-core"
version = "0.1.6"
authors = ["Holger Trahe"]
build = "build.rs"
exclude = [
    "data/*.bin",
    "data/*.json.gz",
    "data/*.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance geographic database with countries, states, cities, and more"
documentation = "https://docs.rs/geodb-core"
readme = "README.md"
keywords = [
    "geography",
    "database",
    "countries",
    "cities",
    "geo",
]
categories = [
    "database",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/holg/geodb-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
builder = [
    "json",
    "dep:reqwest",
]
compact = ["dep:flate2"]
default = [
    "json",
    "builder",
    "compact",
    "search_blobs",
]
json = ["dep:serde_json"]
legacy_model = []
search_blobs = []
use_smolstr = ["smol_str"]
western_opt = []

[lib]
name = "geodb_core"
path = "src/lib.rs"

[[bin]]
name = "profile_search"
path = "src/bin/profile_search.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "city_meta_alias_search"
path = "tests/city_meta_alias_search.rs"

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false

[dependencies.bincode]
version = "1"

[dependencies.deunicode]
version = "1.6"

[dependencies.flate2]
version = "1"
optional = true

[dependencies.once_cell]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.smol_str]
version = "0.3"
features = ["serde"]
optional = true

[dependencies.thiserror]
version = "1"

[dev-dependencies.criterion]
version = "0.7"