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