Cargo Features

[dependencies]
embedded-alloc = { version = "0.6.0", default-features = false, features = ["allocator_api", "tlsf", "llff"] }
default = llff, tlsf

These default features are set whenever embedded-alloc is added without default-features = false somewhere in the dependency tree.

allocator_api
tlsf default = const-default, rlsf

Use the Two-Level Segregated Fit allocator

llff default = linked_list_allocator

Use the LinkedList first-fit allocator

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.

linked_list_allocator llff
rlsf tlsf
const-default tlsf