[[bench]]
harness = false
name = "polytope_benchmarks"
path = "benches/polytope_benchmarks.rs"
[dependencies.glam]
features = ["std"]
version = "0.30.9"
[dependencies.itertools]
version = "0.14.0"
[dependencies.rustc-hash]
version = "2.1.1"
[dependencies.tracing]
optional = true
version = "0.1.43"
[dev-dependencies.divan]
version = "0.1.21"
[dev-dependencies.rand]
version = "0.9.2"
[[example]]
name = "profile_removal"
path = "examples/profile_removal.rs"
[features]
default = []
tracing = ["dep:tracing"]
[lib]
name = "poly_surge"
path = "src/lib.rs"
[package]
authors = ["consistent-milk12"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "mathematics", "graphics"]
description = "Somewhat novel, fast incremental polytope surgery in Rust. Add and remove halfspaces, 11x-1200x faster than the standard 'just reconstruct it' approach."
documentation = "https://docs.rs/poly_surge"
edition = "2024"
keywords = ["geometry", "polytope", "convex", "halfspace", "incremental"]
license = "MIT OR Apache-2.0"
name = "poly_surge"
readme = "README.md"
repository = "https://github.com/YOUR_USERNAME/poly_surge"
rust-version = "1.92.0"
version = "0.1.0"
[profile.bench]
codegen-units = 1
debug = 2
lto = "fat"
opt-level = 3
[profile.dev]
opt-level = 0
[profile.dev.package."*"]
opt-level = 3
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
panic = "abort"
strip = true
[profile.release-with-debug]
debug = 2
inherits = "release"
panic = "unwind"
strip = false