[package] name = "byte-slab" version = "0.2.2" description = "A statically allocated slab of bytes" repository = "https://github.com/anachro-rs/powerbus" authors = ["James Munns "] edition = "2021" categories = [ "embedded", "no-std", ] license = "MIT OR Apache-2.0" [dependencies] heapless = "0.7.5" [dependencies.defmt] version = "0.3.0" optional = true [dependencies.serde] version = "1.0.128" default-features = false [features] # Enables the use of >= 254 elements in the slab usize_queue = ["heapless/mpmc_large"] default = ["usize_queue", "defmt"]