[package] authors = [ "The Cortex-M Team ", "Jonathan Pallant ", "Jorge Aparicio ", "Sébastien Béchet ", ] description = "A heap allocator for embedded systems" repository = "https://github.com/rust-embedded/embedded-alloc" documentation = "https://docs.rs/embedded-alloc" readme = "README.md" edition = "2021" keywords = [ "allocator", "embedded", "arm", "riscv", "cortex-m", ] license = "MIT OR Apache-2.0" name = "embedded-alloc" version = "0.6.0" [features] default = ["llff", "tlsf"] allocator_api = [] # Use the Two-Level Segregated Fit allocator tlsf = ["rlsf", "const-default"] # Use the LinkedList first-fit allocator llff = ["linked_list_allocator"] [dependencies] critical-section = "1.0" linked_list_allocator = { version = "0.10.5", default-features = false, optional = true } rlsf = { version = "0.2.1", default-features = false, optional = true } const-default = { version = "1.0.0", default-features = false, optional = true } [dev-dependencies] cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } cortex-m-rt = "0.7" cortex-m-semihosting = "0.5" panic-semihosting = { version = "0.6", features = ["exit"] }