Cargo Features
[dependencies]
frunk_core = { version = "0.4.3", default-features = false, features = ["alloc", "std", "serde"] }
- default = alloc
-
The
alloc
feature is set by default wheneverfrunk_core
is added without
somewhere in the dependency tree.default-features = false - alloc default std?
-
Enables alloc of optional serde
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.
- std = alloc
-
deprecated -- to be removed in next major version