[package]
edition = "2024"
name = "i_overlay"
version = "4.2.2"
authors = ["Nail Sharipov <nailxsharipov@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Boolean Operations for 2D Polygons: Supports intersection, union, difference, xor, and self-intersections for all polygon varieties."
readme = "README.md"
categories = [
"algorithms",
"graphics",
"science::geo",
"mathematics",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/iShape-Rust/iOverlay"
[features]
allow_multithreading = ["dep:rayon"]
default = []
glam = ["i_float/glam"]
serde = [
"i_float/serde",
"i_shape/serde",
]
[lib]
name = "i_overlay"
path = "src/lib.rs"
[[test]]
name = "board_tests"
path = "tests/board_tests.rs"
[[test]]
name = "data"
path = "tests/data.rs"
[[test]]
name = "direction_tests"
path = "tests/direction_tests.rs"
[[test]]
name = "doc_tests"
path = "tests/doc_tests.rs"
[[test]]
name = "dynamic_tests"
path = "tests/dynamic_tests.rs"
[[test]]
name = "empty_tests"
path = "tests/empty_tests.rs"
[[test]]
name = "fill_rule_tests"
path = "tests/fill_rule_tests.rs"
[[test]]
name = "float_overlay_tests"
path = "tests/float_overlay_tests.rs"
[[test]]
name = "float_point_adapter"
path = "tests/float_point_adapter.rs"
[[test]]
name = "fragment_tests"
path = "tests/fragment_tests.rs"
[[test]]
name = "ocg_tests"
path = "tests/ocg_tests.rs"
[[test]]
name = "overlay_tests"
path = "tests/overlay_tests.rs"
[[test]]
name = "simplify_tests"
path = "tests/simplify_tests.rs"
[[test]]
name = "slice_tests"
path = "tests/slice_tests.rs"
[[test]]
name = "string_tests"
path = "tests/string_tests.rs"
[[test]]
name = "util"
path = "tests/util.rs"
[[test]]
name = "vector_tests"
path = "tests/vector_tests.rs"
[dependencies.i_float]
version = "~1.16.0"
[dependencies.i_key_sort]
version = "~0.10.1"
[dependencies.i_shape]
version = "~1.15.0"
[dependencies.i_tree]
version = "~0.16.0"
[dependencies.rayon]
version = "^1.10"
optional = true
[dev-dependencies.i_float]
version = "~1.16.0"
features = ["serde"]
[dev-dependencies.i_shape]
version = "~1.15.0"
features = ["serde"]
[dev-dependencies.rand]
version = "~0.9"
features = ["alloc"]
[dev-dependencies.serde]
version = "^1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "^1.0"