[package]
name = "polycool"
version = "0.4.0"
edition = "2024"
description = "Polynomial root-finding"
keywords = ["polynomial", "roots", "numerical"]
categories = ["mathematics"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/linebender/kurbo"
[features]
default = ["std"]
std = []
arbitrary = ["dep:arbitrary"]
libm = ["dep:libm"]
[dependencies]
arbitrary = { version = "1.4.2", optional = true }
arrayvec = { version = "0.7.6", default-features = false }
libm = { version = "0.2.15", optional = true }
[dev-dependencies]
arbitrary = "1.4.2"
arbtest = "0.3.2"
criterion = { version = "0.7.0", default-features = false, features = [
"plotters",
"cargo_bench_support",
] }
[[bench]]
name = "cubic_roots"
harness = false
[[bench]]
name = "eval"
harness = false
[[bench]]
name = "quadratic_roots"
harness = false