Cargo Features

[dependencies]
kurbo = { version = "0.13.0", default-features = false, features = ["std", "libm", "mint", "euclid", "serde", "schemars"] }
default = std

The std feature is set by default whenever kurbo is added without default-features = false somewhere in the dependency tree.

std default

Get floating point functions from the standard library (likely using your target's libc)

Enables std of optional euclid

libm

Use floating point implementations from libm

Enables libm, libm of optional euclid

mint

Enable From/Into conversion of Kurbo and [mint] types, enabling interoperability with other graphics libraries

Enables mint

euclid

Enable From/Into conversion of Kurbo and euclid types

Enables euclid

serde

Implement serde::Deserialize and serde::Serialize on various types

Enables serde, serde of smallvec

schemars

Add best-effort support for using Kurbo types in JSON schemas using schemars

Enables smallvec of schemars ^0.8.22