Cargo Features
[dependencies]
mayheap = { version = "0.1.1", default-features = false, features = ["alloc", "heapless", "serde"] }
- default = alloc
-
The
alloc
feature is set by default whenevermayheap
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
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.
- heapless
-
Enables heapless
- serde
-
Enables serde and serde of optional heapless
heapless:
implement serde traits.
mayheap has 4 features without comments.