[[bench]]
harness = false
name = "parsing_benchmarks"
path = "benches/parsing_benchmarks.rs"
[[bench]]
harness = false
name = "simple_bench"
path = "benches/simple_bench.rs"
[build-dependencies.bindgen]
version = "0.72"
[build-dependencies.cc]
version = "1.0"
[build-dependencies.flate2]
version = "1.0"
[build-dependencies.pkg-config]
version = "0.3"
[build-dependencies.reqwest]
features = ["blocking"]
version = "0.12"
[build-dependencies.sha2]
version = "0.10"
[build-dependencies.tar]
version = "0.4"
[dependencies.dirs]
version = "6.0"
[dependencies.flate2]
optional = true
version = "1.0"
[dependencies.futures]
optional = true
version = "0.3"
[dependencies.libc]
version = "0.2"
[dependencies.rayon]
optional = true
version = "1.8"
[dependencies.reqwest]
features = ["stream"]
optional = true
version = "0.12"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.tar]
optional = true
version = "0.4"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["rt", "fs", "net"]
version = "1.0"
[dev-dependencies.assert_matches]
version = "1.5"
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.tempfile]
version = "3.0"
[dev-dependencies.tokio]
features = ["macros", "rt", "rt-multi-thread"]
version = "1.0"
[dev-dependencies.tokio-test]
version = "0.4"
[[example]]
name = "advanced_usage"
path = "examples/advanced_usage.rs"
[[example]]
name = "basic_parsing"
path = "examples/basic_parsing.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "data_download"
path = "examples/data_download.rs"
[features]
bundled-data = []
default = ["runtime-data"]
docs-rs = []
parallel = ["dep:rayon"]
runtime-data = ["dep:reqwest", "dep:tar", "dep:flate2", "dep:futures"]
serde = ["dep:serde"]
[lib]
name = "libpostal_rs"
path = "src/lib.rs"
[package]
authors = ["Isaac Duarte <isaac@elektrikapp.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["text-processing", "internationalization", "api-bindings"]
description = "Static Rust bindings for libpostal - international address parsing and normalization"
documentation = "https://docs.rs/libpostal-rs"
edition = "2024"
keywords = ["libpostal", "address", "parsing", "normalization", "geocoding"]
license = "MIT OR Apache-2.0"
name = "libpostal-rs"
readme = "README.md"
repository = "https://github.com/Isaac-Duarte/libpostal-rs"
version = "0.1.3"