polylabel 3.3.0

A Rust implementation of the Polylabel algorithm for finding optimum polygon label positions.
[package]
name = "polylabel"
version = "3.3.0"
authors = ["Stephan Hügel <urschrei@gmail.com>"]
description = "A Rust implementation of the Polylabel algorithm for finding optimum polygon label positions."
readme = "README.md"
keywords = ["geo", "polylabel", "gis"]
repository = "https://github.com/urschrei/polylabel-rs"
license = "BlueOak-1.0.0"
edition = "2024"
rust-version = "1.85"

[dependencies]
libc = {version = "0.2.172", default-features=false, optional = true}
geo = "0.33.1"
num-traits = "0.2.19"
thiserror = "2.0.12"

[build-dependencies]
cbindgen = { version = "0.29.3", default-features=false, optional = true}

[dev-dependencies]
criterion = "0.8.2"

[features]
headers = ["cbindgen"]
ffi = ["libc"]

[lib]
name = "polylabel"
crate-type = ["rlib", "cdylib"]
test = true
doctest = true
doc = true

[profile.release]
rpath = true
lto = true

[[bench]]
name = "benchmark"
harness = false

[package.metadata.docs.rs]
# Features to pass to Cargo (default: [])
features = ["ffi"]