[go: up one dir, main page]

heapless 0.9.1

`static` friendly data structures that don't require dynamic memory allocation
Documentation
[dependencies.bytes]
default-features = false
optional = true
version = "1"

[dependencies.defmt]
optional = true
version = "1.0.1"

[dependencies.hash32]
version = "0.3.0"

[dependencies.portable-atomic]
optional = true
version = "1.0"

[dependencies.serde]
default-features = false
optional = true
version = "1"

[dependencies.ufmt]
optional = true
version = "0.2"

[dependencies.ufmt-write]
optional = true
version = "0.1"

[dev-dependencies.critical-section]
features = ["std"]
version = "1.1"

[dev-dependencies.static_assertions]
version = "1.1.0"

[features]
alloc = []
bytes = ["dep:bytes"]
defmt = ["dep:defmt"]
mpmc_large = []
nightly = []
portable-atomic = ["dep:portable-atomic"]
portable-atomic-critical-section = ["dep:portable-atomic", "portable-atomic", "portable-atomic?/critical-section"]
portable-atomic-unsafe-assume-single-core = ["dep:portable-atomic", "portable-atomic", "portable-atomic?/unsafe-assume-single-core"]
serde = ["dep:serde"]
ufmt = ["dep:ufmt", "dep:ufmt-write"]

[lib]
name = "heapless"
path = "src/lib.rs"

[package]
authors = ["Jorge Aparicio <jorge@japaric.io>", "Per Lindgren <per.lindgren@ltu.se>", "Emil Fresk <emil.fresk@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["data-structures", "no-std"]
description = "`static` friendly data structures that don't require dynamic memory allocation"
documentation = "https://docs.rs/heapless"
edition = "2021"
keywords = ["static", "no-heap"]
license = "MIT OR Apache-2.0"
name = "heapless"
readme = "README.md"
repository = "https://github.com/rust-embedded/heapless"
version = "0.9.1"

[package.metadata.docs.rs]
features = ["bytes", "ufmt", "serde", "defmt", "mpmc_large", "portable-atomic-critical-section", "alloc"]
rustdoc-args = ["--cfg", "docsrs"]
targets = ["i686-unknown-linux-gnu"]

[target.'cfg(any(target_arch = "arm", target_pointer_width = "32", target_pointer_width = "64"))'.dependencies.stable_deref_trait]
default-features = false
version = "1"

[[test]]
name = "cpass"
path = "tests/cpass.rs"

[[test]]
name = "tsan"
path = "tests/tsan.rs"