mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-27 12:30:35 +00:00

... otherwise any crate using heapless will automatically add all the funny ARMv6-M only dependencies regardless. Signed-off-by: Daniel Egger <daniel@eggers-club.de>
62 lines
1.3 KiB
TOML
62 lines
1.3 KiB
TOML
[package]
|
|
authors = [
|
|
"Jorge Aparicio <jorge@japaric.io>",
|
|
"Per Lindgren <per.lindgren@ltu.se>",
|
|
"Emil Fresk <emil.fresk@gmail.com>",
|
|
]
|
|
categories = ["data-structures", "no-std"]
|
|
description = "`static` friendly data structures that don't require dynamic memory allocation"
|
|
documentation = "https://docs.rs/heapless"
|
|
edition = "2018"
|
|
keywords = ["static", "no-heap"]
|
|
license = "MIT OR Apache-2.0"
|
|
name = "heapless"
|
|
repository = "https://github.com/japaric/heapless"
|
|
version = "0.7.3"
|
|
|
|
[features]
|
|
default = ["cas"]
|
|
cas = ["atomic-polyfill"]
|
|
ufmt-impl = ["ufmt-write"]
|
|
# read the docs before enabling: makes `Pool` Sync on x86_64
|
|
x86-sync-pool = []
|
|
# only for tests
|
|
__trybuild = []
|
|
# Enable larger MPMC sizes.
|
|
mpmc_large = []
|
|
defmt-impl = ["defmt"]
|
|
|
|
[target.x86_64-unknown-linux-gnu.dev-dependencies]
|
|
scoped_threadpool = "0.1.8"
|
|
|
|
[target.thumbv6m-none-eabi.dependencies]
|
|
atomic-polyfill = { version = "0.1.2", optional = true }
|
|
|
|
[dependencies]
|
|
hash32 = "0.2.1"
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.stable_deref_trait]
|
|
version = "1"
|
|
default-features = false
|
|
|
|
[dependencies.ufmt-write]
|
|
version = "0.1"
|
|
optional = true
|
|
|
|
[dev-dependencies.ufmt]
|
|
version = "0.1"
|
|
|
|
[dependencies.defmt]
|
|
version = "0.2.1"
|
|
optional = true
|
|
|
|
[dev-dependencies.defmt]
|
|
version = "0.2.1"
|
|
features = ["unstable-test"]
|
|
|