[package]
edition = "2024"
name = "geocoder-core"
version = "0.4.0"
authors = ["Creatiwity <hello@creatiwity.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Address geocoding and autocomplete ported from addok, with country profiles for France (BAN), Luxembourg and Belgium"
documentation = "https://docs.rs/geocoder-core"
readme = "README.md"
keywords = [
"geocoding",
"addok",
"address",
"autocomplete",
"ban",
]
categories = [
"science::geo",
"text-processing",
]
license = "MIT"
repository = "https://github.com/Creatiwity/geocoder-core"
[features]
cli = ["dep:ureq"]
default = ["cli"]
signed = [
"dep:ed25519-dalek",
"dep:sha2",
]
[lib]
name = "geocoder_core"
path = "src/lib.rs"
[[bin]]
name = "geocoder-build"
path = "src/bin/build.rs"
required-features = ["cli"]
[[bin]]
name = "geocoder-search"
path = "src/bin/search.rs"
required-features = ["cli"]
[[example]]
name = "inspect"
path = "examples/inspect.rs"
[[example]]
name = "pipeline"
path = "examples/pipeline.rs"
[[example]]
name = "roundtrip"
path = "examples/roundtrip.rs"
[[test]]
name = "cedex"
path = "tests/cedex.rs"
[[test]]
name = "corrupted"
path = "tests/corrupted.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.byteorder]
version = "1.5"
[dependencies.csv]
version = "1.4"
[dependencies.ed25519-dalek]
version = "3.0"
optional = true
[dependencies.fancy-regex]
version = "0.20"
[dependencies.flate2]
version = "1.1"
[dependencies.fst]
version = "0.4"
[dependencies.geohash]
version = "0.13"
[dependencies.memmap2]
version = "0.9"
[dependencies.once_cell]
version = "1.21"
[dependencies.regex]
version = "1.13"
[dependencies.roaring]
version = "0.12"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.11"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.unidecode]
version = "0.3"
[dependencies.ureq]
version = "3.5"
optional = true
[dependencies.zip]
version = "9.6"
features = ["deflate"]
default-features = false
[dev-dependencies.tempfile]
version = "3.27"