Cargo Features

[dependencies]
mayheap = { version = "0.1.1", default-features = false, features = ["alloc", "heapless", "serde"] }
default = alloc

The alloc feature is set by default whenever mayheap is added without default-features = false somewhere in the dependency tree.

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.