[package]
edition = "2021"
rust-version = "1.80"
name = "polyops"
version = "0.1.0"
authors = ["Samuel Opeyemi <samuel@fasteditor.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast Martinez-Rueda polygon clipping: Boolean operations (intersection, union, difference, xor) on polygons and multipolygons over GeoJSON-shaped coordinates. Pure-Rust port of martinez-polygon-clipping."
homepage = "https://github.com/trenchesdeveloper/PolyOps"
readme = "README.md"
keywords = [
"polygon",
"clipping",
"boolean",
"geojson",
"martinez",
]
categories = [
"algorithms",
"graphics",
"science::geo",
]
license = "MIT"
repository = "https://github.com/trenchesdeveloper/PolyOps"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
geo-types = ["dep:geo-types"]
serde = ["dep:serde"]
[lib]
name = "polyops"
path = "src/lib.rs"
[[test]]
name = "geo_types"
path = "tests/geo_types.rs"
[[test]]
name = "parity"
path = "tests/parity.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.geo-types]
version = "0.7"
optional = true
[dependencies.robust]
version = "1.1"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"