# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "embedded-alloc" version = "0.6.0" authors = [ "The Cortex-M Team ", "Jonathan Pallant ", "Jorge Aparicio ", "Sébastien Béchet ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A heap allocator for embedded systems" documentation = "https://docs.rs/embedded-alloc" readme = "README.md" keywords = [ "allocator", "embedded", "arm", "riscv", "cortex-m", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-embedded/embedded-alloc" [lib] name = "embedded_alloc" path = "src/lib.rs" [[example]] name = "allocator_api" path = "examples/allocator_api.rs" [[example]] name = "global_alloc" path = "examples/global_alloc.rs" [[example]] name = "llff_integration_test" path = "examples/llff_integration_test.rs" [[example]] name = "tlsf_integration_test" path = "examples/tlsf_integration_test.rs" [dependencies.const-default] version = "1.0.0" optional = true default-features = false [dependencies.critical-section] version = "1.0" [dependencies.linked_list_allocator] version = "0.10.5" optional = true default-features = false [dependencies.rlsf] version = "0.2.1" optional = true default-features = false [dev-dependencies.cortex-m] version = "0.7.6" features = ["critical-section-single-core"] [dev-dependencies.cortex-m-rt] version = "0.7" [dev-dependencies.cortex-m-semihosting] version = "0.5" [dev-dependencies.panic-semihosting] version = "0.6" features = ["exit"] [features] allocator_api = [] default = [ "llff", "tlsf", ] llff = ["linked_list_allocator"] tlsf = [ "rlsf", "const-default", ]