[package]
edition = "2024"
rust-version = "1.85"
name = "cch"
version = "0.3.0"
build = false
exclude = [
"oracle/",
".github/",
".superpowers/",
".plans/",
".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust Customizable Contraction Hierarchies (CCH): build, customize in parallel, and serve fast shortest-path distance, many-to-many matrix, and path queries on road networks"
homepage = "https://github.com/Rodeapps/cch"
documentation = "https://docs.rs/cch"
readme = "README.md"
keywords = [
"routing",
"cch",
"contraction",
"shortest-path",
"graph",
]
categories = [
"algorithms",
"science::geo",
]
license = "MIT"
repository = "https://github.com/Rodeapps/cch"
[lib]
name = "cch"
path = "src/lib.rs"
[[example]]
name = "build_and_query"
path = "examples/build_and_query.rs"
[[test]]
name = "equivalence"
path = "tests/equivalence.rs"
[[test]]
name = "load_struct"
path = "tests/load_struct.rs"
[[test]]
name = "oracle_smoke"
path = "tests/oracle_smoke.rs"
[[bench]]
name = "cch"
path = "benches/cch.rs"
harness = false
[[bench]]
name = "real_corpus"
path = "benches/real_corpus.rs"
harness = false
[dependencies.memmap2]
version = "0.9"
[dependencies.rayon]
version = "1.10"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
all = "deny"
pedantic = "warn"