1[package]
2name = "kurbo"
3version = "0.10.4"
4authors = ["Raph Levien <raph.levien@gmail.com>"]
5license = "MIT OR Apache-2.0"
6edition = "2021"
7rust-version = "1.65" # When updating this, also update the README.md and CI.
8keywords = ["graphics", "curve", "curves", "bezier", "geometry"]
9repository = "https://github.com/linebender/kurbo"
10description = "A 2D curves library"
11readme = "README.md"
12categories = ["graphics"]
13
14[package.metadata.docs.rs]
15features = ["mint", "schemars", "serde"]
16
17[features]
18default = ["std"]
19std = []
20
21[dependencies]
22smallvec = "1.10"
23
24[dependencies.arrayvec]
25version = "0.7.1"
26default-features = false
27
28[dependencies.libm]
29version = "0.2.6"
30optional = true
31
32[dependencies.mint]
33version = "0.5.1"
34optional = true
35
36[dependencies.schemars]
37version = "0.8.6"
38optional = true
39
40[dependencies.serde]
41version = "1.0.105"
42optional = true
43default-features = false
44features = ["alloc", "derive"]
45
46# This is used for research but not really needed; maybe refactor.
47[dev-dependencies]
48rand = "0.8.0"
49
50[target.'cfg(target_arch="wasm32")'.dev-dependencies]
51getrandom = { version = "0.2.0", features = ["js"] }
52
53