Cargo Features
[dependencies]
colstodian = { version = "0.1.0-rc.3", default-features = false, features = ["std", "libm", "with-serde"] }
- default = std
-
The
std
feature is set by default whenevercolstodian
is added without
somewhere in the dependency tree.default-features = false - std default
-
enable support for the standard library
Enables std of glam ^0.17.1 and kolor
glam:
keep in sync with kolor
- libm = num-traits
-
libm is required when building with no_std
Enables libm of glam ^0.17.1, kolor, and num-traits
- with-serde = serde
-
add serde Serialize/Deserialize to relevant types
Enables serde of glam ^0.17.1, serde1 of kolor
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.