clipper2c-sys 0.2.0

Rust FFI bindings to Clipper2 — 2D polygon boolean clipping (intersection, union, difference, XOR), offsetting (inflate/deflate), area, and point-in-polygon.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "clipper2c-sys"
version = "0.2.0"
authors = ["Fredrik Söderström <tirithen@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust FFI bindings to Clipper2 — 2D polygon boolean clipping (intersection, union, difference, XOR), offsetting (inflate/deflate), area, and point-in-polygon."
documentation = "https://docs.rs/clipper2c-sys/"
readme = "README.md"
keywords = [
    "polygon",
    "clipping",
    "offset",
    "clipper",
    "clipper2",
]
categories = [
    "algorithms",
    "external-ffi-bindings",
    "graphics",
    "science::geo",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tirithen/clipper2c-sys"

[features]
generate-bindings = ["bindgen"]
serde = ["dep:serde"]
update-bindings = ["generate-bindings"]

[lib]
name = "clipper2c_sys"
path = "src/lib.rs"

[[bench]]
name = "ffi_bench"
path = "benches/ffi_bench.rs"
harness = false

[dependencies.libc]
version = "0.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

[build-dependencies.bindgen]
version = "0.72.1"
optional = true

[build-dependencies.cc]
version = "1.2.61"