cch-rs 0.2.0

A fast and practical Customizable Contraction Hierarchy (CCH) routing engine for Rust with built-in graph partitioning and incremental updates.
Documentation
# 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 = "2024"
name = "cch-rs"
version = "0.2.0"
authors = ["wmsnp <contact@wmsnp.top>"]
build = false
include = [
    "/src/**",
    "/tests/cch.rs",
    "/tests/loader.rs",
    "/benches/cch_bench.rs",
    "/Cargo.toml",
    "/README.md",
    "/LICENSE-APACHE.txt",
    "/LICENSE-MIT.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast and practical Customizable Contraction Hierarchy (CCH) routing engine for Rust with built-in graph partitioning and incremental updates."
readme = "README.md"
keywords = [
    "routing",
    "cch",
    "shortest-path",
    "graph",
    "navigation",
]
categories = [
    "algorithms",
    "data-structures",
    "science::geo",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wmsnp/cch-rs"

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

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

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

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

[dependencies.arc-swap]
version = "1"

[dependencies.bytemuck]
version = "1"

[dependencies.metis-sys]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rayon]
version = "1"

[dependencies.rustc-hash]
version = "2"

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

[dev-dependencies.ittapi]
version = "0.5"

[dev-dependencies.petgraph]
version = "0.8"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.rand_chacha]
version = "0.10"

[profile.bench]
opt-level = 3
codegen-units = 1
debug = 2
split-debuginfo = "packed"
strip = false