Cargo Features
[dependencies]
kolor = { version = "0.1.9", default-features = false, features = ["std", "serde1", "color-matrices", "f32", "std-glam", "libm", "libm-glam"] }
- default = color-matrices, f32, std-glam
-
These default features are set whenever
kolor
is added without
somewhere in the dependency tree.default-features = false - std std-glam
- serde1 = serde
-
Enables serde of glam ^0.23
- color-matrices default
-
Affects
kolor::details.generated_matrices
… - f32 default
- std-glam default = std
-
Enables std of glam ^0.23
glam:
enable support for the standard library
- libm libm-glam? = num-traits
-
Enables libm of num-traits
- libm-glam = libm
-
Enables libm of glam ^0.23
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.
- serde serde1?
- num-traits libm?
- glam libm-glam? serde1? std-glam
-
Enables glam ^0.23