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