1[package]
2name = "kurbo"
3version = "0.11.1"
4authors = ["Raph Levien <raph.levien@gmail.com>"]
5license = "MIT OR Apache-2.0"
6edition = "2021"
7# TODO: When this hits 1.74, move lint configuration into this file via a lints table.
8# Keep in sync with RUST_MIN_VER in .github/workflows/ci.yml, with the README.md file,
9# and with the MSRV in the `Unreleased` section of CHANGELOG.md.
10rust-version = "1.65"
11keywords = ["graphics", "curve", "curves", "bezier", "geometry"]
12repository = "https://github.com/linebender/kurbo"
13description = "A 2D curves library"
14readme = "README.md"
15categories = ["graphics"]
16
17[package.metadata.docs.rs]
18features = ["mint", "schemars", "serde"]
19
20[features]
21default = ["std"]
22std = []
23libm = ["dep:libm"]
24mint = ["dep:mint"]
25serde=["smallvec/serde", "dep:serde"]
26schemars=["schemars/smallvec", "dep:schemars"]
27
28[dependencies]
29smallvec = "1.13.2"
30
31[dependencies.arrayvec]
32version = "0.7.6"
33default-features = false
34
35[dependencies.libm]
36version = "0.2.8"
37optional = true
38
39[dependencies.mint]
40version = "0.5.9"
41optional = true
42
43[dependencies.schemars]
44version = "0.8.21"
45optional = true
46
47[dependencies.serde]
48version = "1.0.209"
49optional = true
50default-features = false
51features = ["alloc", "derive"]
52
53# This is used for research but not really needed; maybe refactor.
54[dev-dependencies]
55rand = "0.8.5"
56
57[target.'cfg(target_arch="wasm32")'.dev-dependencies]
58getrandom = { version = "0.2.15", features = ["js"] }
59