polylabel 3.3.0

A Rust implementation of the Polylabel algorithm for finding optimum polygon label positions.
# 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 = "polylabel"
version = "3.3.0"
authors = ["Stephan Hügel <urschrei@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of the Polylabel algorithm for finding optimum polygon label positions."
readme = "README.md"
keywords = [
    "geo",
    "polylabel",
    "gis",
]
license = "BlueOak-1.0.0"
repository = "https://github.com/urschrei/polylabel-rs"

[package.metadata.docs.rs]
features = ["ffi"]

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

[lib]
name = "polylabel"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"
test = true
doctest = true
doc = true

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

[dependencies.geo]
version = "0.33.1"

[dependencies.libc]
version = "0.2.172"
optional = true
default-features = false

[dependencies.num-traits]
version = "0.2.19"

[dependencies.thiserror]
version = "2.0.12"

[dev-dependencies.criterion]
version = "0.8.2"

[build-dependencies.cbindgen]
version = "0.29.3"
optional = true
default-features = false

[profile.release]
lto = true
rpath = true