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
somewhere in the dependency tree.default-features = false - 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.