-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
46 lines (38 loc) · 992 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "polylabel"
version = "3.2.0"
authors = ["Stephan Hügel <[email protected]>"]
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 = "2021"
rust-version = "1.70"
[dependencies]
libc = {version = "0.2.153", default-features=false, optional = true}
geo = "0.29.0"
num-traits = "0.2.18"
thiserror = "1.0.57"
[build-dependencies]
cbindgen = { version = "0.26.0", default-features=false, optional = true}
[dev-dependencies]
criterion = "0.5.1"
[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"]