[dependencies.euclid]
version = "0.22.11"
[dependencies.kurbo]
optional = true
version = "0.11.2"
[dependencies.lyon_tessellation]
optional = true
version = "1.0.15"
[dependencies.skia-safe]
optional = true
version = "0.87.0"
[dependencies.tiny-skia-path]
optional = true
version = "0.11.4"
[dev-dependencies.float-cmp]
version = "0.10.0"
[features]
default = []
kurbo = ["dep:kurbo"]
lyon = ["dep:lyon_tessellation"]
skia = ["dep:skia-safe"]
tiny-skia = ["dep:tiny-skia-path"]
[lib]
name = "polymorpher"
path = "src/lib.rs"
[lints.clippy]
all = "warn"
nursery = "warn"
pedantic = "warn"
[lints.clippy.must_use_candidate]
level = "allow"
priority = 1
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["graphics"]
description = "Library for creating and morphing potentially rounded polygons"
documentation = "https://docs.rs/polymorpher"
edition = "2024"
homepage = "https://github.com/Aiving/polymorpher"
keywords = ["graphics", "2d", "shape", "polygon"]
license = "Apache-2.0"
name = "polymorpher"
readme = "README.md"
repository = "https://github.com/Aiving/polymorpher.git"
rust-version = "1.85.1"
version = "0.1.4"
[profile.dev]
opt-level = 1
[profile.release]
opt-level = 3
[[test]]
name = "cubic"
path = "tests/cubic.rs"
[[test]]
name = "feature"
path = "tests/feature.rs"
[[test]]
name = "mapping"
path = "tests/mapping.rs"
[[test]]
name = "morph"
path = "tests/morph.rs"
[[test]]
name = "rounded_polygon"
path = "tests/rounded_polygon.rs"