Cargo Features
[dependencies]
kurbo = { version = "0.13.0", default-features = false, features = ["std", "libm", "mint", "euclid", "serde", "schemars"] }
- default = std
-
The
stdfeature is set by default wheneverkurbois added withoutsomewhere in the dependency tree.default-features = false - std default
-
Get floating point functions from the standard library (likely using your target's libc)
- libm
-
Use floating point implementations from libm
- mint
-
Enable
From/Intoconversion of Kurbo and [mint] types, enabling interoperability with other graphics librariesEnables mint
- euclid
-
Enable
From/Intoconversion of Kurbo and euclid typesEnables euclid
- serde
-
Implement
serde::Deserializeandserde::Serializeon various types - schemars
-
Add best-effort support for using Kurbo types in JSON schemas using schemars
Enables smallvec of schemars ^0.8.22