[package]
edition = "2024"
rust-version = "1.89"
name = "robust-planning"
version = "0.2.1"
authors = ["Markus Mayer <widemeadows@gmail.com>"]
build = false
exclude = [
".github/",
"scripts/",
".pre-commit-config.yaml",
"Taskfile.dist.yaml",
"_typos.toml",
"clippy.toml",
"codecov.yml",
"deny.toml",
"release-plz.toml",
"rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Motion planning over reachable sets under bounded uncertainty: Robust-RRT, Robust RRT* and reachability-guided A* with conservative safety proofs"
homepage = "https://sunsided.github.io/planning-and-search/crates/robust-planning/"
readme = "README.md"
keywords = [
"motion-planning",
"reachability",
"zonotope",
"rrt",
"safety",
]
categories = [
"science::robotics",
"algorithms",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sunsided/robust-planning"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--html-in-header",
"docs/mermaid.html",
]
rustc-args = [
"-C",
"target-cpu=haswell",
]
[features]
reach = ["dep:polyzonotope-reach"]
sound = [
"polyzonotope/sound",
"polyzonotope-reach?/sound",
]
[lib]
name = "robust_planning"
path = "src/lib.rs"
[[example]]
name = "robust_rrt_2d"
path = "examples/robust_rrt_2d.rs"
[[example]]
name = "robust_rrt_current"
path = "examples/robust_rrt_current.rs"
required-features = ["reach"]
[[test]]
name = "it"
path = "tests/it/main.rs"
[[bench]]
name = "robust_rrt_star"
path = "benches/robust_rrt_star.rs"
harness = false
[[bench]]
name = "search"
path = "benches/search.rs"
harness = false
[dependencies.nalgebra]
version = "0.35"
features = ["alloc"]
default-features = false
[dependencies.polyzonotope]
version = "0.4"
[dependencies.polyzonotope-reach]
version = "0.1.1"
optional = true
[dependencies.sampling-planning]
version = "0.1"
[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.nalgebra]
version = "0.35"
[dev-dependencies.proptest]
version = "1.12.0"
[dev-dependencies.rand_pcg]
version = "0.10.2"
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
cognitive_complexity = "warn"
missing_docs_in_private_items = "warn"
mod_module_files = "deny"
multiple_unsafe_ops_per_block = "warn"
undocumented_unsafe_blocks = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[lints.rustdoc]
broken_intra_doc_links = "deny"
private_intra_doc_links = "allow"