[[bench]]
name = "cubic_arclen"
path = "benches/cubic_arclen.rs"
[[bench]]
name = "quad_arclen"
path = "benches/quad_arclen.rs"
[[bench]]
name = "quartic"
path = "benches/quartic.rs"
[[bench]]
name = "rect_expand"
path = "benches/rect_expand.rs"
[dependencies.arrayvec]
default-features = false
version = "0.7.6"
[dependencies.libm]
optional = true
version = "0.2.8"
[dependencies.mint]
optional = true
version = "0.5.9"
[dependencies.schemars]
optional = true
version = "0.8.21"
[dependencies.serde]
default-features = false
features = ["alloc", "derive"]
optional = true
version = "1.0.209"
[dependencies.smallvec]
version = "1.13.2"
[dev-dependencies.rand]
version = "0.8.5"
[[example]]
name = "arclen_accuracy"
path = "examples/arclen_accuracy.rs"
[[example]]
name = "circle"
path = "examples/circle.rs"
[[example]]
name = "cubic_arclen"
path = "examples/cubic_arclen.rs"
[[example]]
name = "ellipse"
path = "examples/ellipse.rs"
[[example]]
name = "fit_poly"
path = "examples/fit_poly.rs"
[[example]]
name = "offset"
path = "examples/offset.rs"
[[example]]
name = "quad_intersect"
path = "examples/quad_intersect.rs"
[[example]]
name = "simplify"
path = "examples/simplify.rs"
[features]
default = ["std"]
libm = ["dep:libm"]
mint = ["dep:mint"]
schemars = ["schemars/smallvec", "dep:schemars"]
serde = ["smallvec/serde", "dep:serde"]
std = []
[lib]
name = "kurbo"
path = "src/lib.rs"
[package]
authors = ["Raph Levien <raph.levien@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["graphics"]
description = "A 2D curves library"
edition = "2021"
keywords = ["graphics", "curve", "curves", "bezier", "geometry"]
license = "MIT OR Apache-2.0"
name = "kurbo"
readme = "README.md"
repository = "https://github.com/linebender/kurbo"
rust-version = "1.65"
version = "0.11.1"
[package.metadata.docs.rs]
features = ["mint", "schemars", "serde"]
[target.'cfg(target_arch="wasm32")'.dev-dependencies.getrandom]
features = ["js"]
version = "0.2.15"