[package]
edition = "2024"
rust-version = "1.85"
name = "sampling-planning"
version = "0.1.0"
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 = "Sampling-based motion planning for no_std: RRT, RRT*, RRT-Connect, PRM, SPARS, FMT*, BIT*, AIT*, SST and KPIECE"
readme = "README.md"
keywords = [
"motion-planning",
"rrt",
"prm",
"path-planning",
"robotics",
]
categories = [
"science::robotics",
"algorithms",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sunsided/sampling-planning"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--html-in-header",
"docs/mermaid.html",
]
[lib]
name = "sampling_planning"
path = "src/lib.rs"
[[example]]
name = "obstacles_2d"
path = "examples/obstacles_2d.rs"
[[test]]
name = "it"
path = "tests/it/main.rs"
[[bench]]
name = "nearest"
path = "benches/nearest.rs"
harness = false
[[bench]]
name = "spaces"
path = "benches/spaces.rs"
harness = false
[dependencies.libm]
version = "0.2.16"
[dependencies.rand_core]
version = "0.10.1"
default-features = false
[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.proptest]
version = "1.11.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"
[profile.test]
opt-level = 2