heapless dep is optional now

This commit is contained in:
Robin Müller 2022-12-30 23:29:56 +01:00
parent b74bfea7dd
commit 55a9422992
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -8,11 +8,14 @@ edition = "2021"
[dependencies]
delegate = "0.8"
hashbrown = "0.13"
heapless = "0.7"
paste = "1.0"
dyn-clone = "1.0"
embed-doc-image = "0.1"
[dependencies.heapless]
version = "0.7"
optional = true
[dependencies.num-traits]
version = "0.2"
default-features = false
@ -54,7 +57,7 @@ std = ["downcast-rs/std", "alloc", "bus", "postcard/use-std", "crossbeam-channel
alloc = ["serde/alloc", "spacepackets/alloc"]
serde = ["dep:serde", "spacepackets/serde"]
crossbeam = ["crossbeam-channel"]
heapless = []
heapless = ["dep:heapless"]
doc-images = []
[package.metadata.docs.rs]