Cargo Features
[dependencies]
yoke = { version = "0.7.5", default-features = false, features = ["alloc", "derive", "serde", "zerofrom"] }
- default = alloc, zerofrom
-
These default features are set whenever
yoke
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Enables alloc of optional serde, stable_deref_trait, and zerofrom
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
Affects
yoke::erased
… - derive
-
Enables yoke-derive, derive of zerofrom
- serde
-
Enables serde
- zerofrom default alloc derive?
-
Enables zerofrom