Cargo Features
[dependencies]
lyon_path = { version = "1.0.6", default-features = false, features = ["std", "serialization"] }
- default = std
-
The
std
feature is set by default wheneverlyon_path
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of lyon_geom and num-traits
- serialization
-
Enables serialization of lyon_geom and std of serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.
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.