[package]
edition = "2021"
rust-version = "1.70"
name = "clipper2-rust"
version = "1.0.0"
authors = ["Lars Brubaker <larsbrubaker@matterhackers.com>"]
build = false
exclude = [
"demo/",
"docs/",
"Tests/",
".github/",
".claude/",
"benches/",
"scripts/",
"CLAUDE.md",
"nul",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust port of the Clipper2 polygon clipping and offsetting library"
homepage = "https://larsbrubaker.github.io/clipper2-rust/"
documentation = "https://docs.rs/clipper2-rust/"
readme = "README.md"
keywords = [
"polygon",
"clipping",
"geometry",
"offsetting",
"2d",
]
categories = [
"algorithms",
"graphics",
"mathematics",
]
license = "BSL-1.0"
repository = "https://github.com/larsbrubaker/clipper2-rust"
[lib]
name = "clipper2_rust"
path = "src/lib.rs"
[[bin]]
name = "clipper2-rust"
path = "src/main.rs"
[[example]]
name = "benchmark_cli"
path = "examples/benchmark_cli.rs"
[[example]]
name = "inflate_paths"
path = "examples/inflate_paths.rs"
[[example]]
name = "rect_clipping"
path = "examples/rect_clipping.rs"
[[example]]
name = "simple_clipping"
path = "examples/simple_clipping.rs"
[dependencies.num-traits]
version = "0.2"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.rand]
version = "0.8"