embassy-boot: add default nightly feature, makes it possible to compile with the stable compiler

This commit is contained in:
sander
2023-03-22 16:49:49 +01:00
parent aa77a06d58
commit ba9afbc26d
4 changed files with 19 additions and 5 deletions

View File

@ -28,7 +28,7 @@ log = { version = "0.4", optional = true }
ed25519-dalek = { version = "1.0.1", default_features = false, features = ["u32_backend"], optional = true }
embassy-sync = { version = "0.1.0", path = "../../embassy-sync" }
embedded-storage = "0.3.0"
embedded-storage-async = "0.4.0"
embedded-storage-async = { version = "0.4.0", optional = true}
salty = { git = "https://github.com/ycrypto/salty.git", rev = "a9f17911a5024698406b75c0fac56ab5ccf6a8c7", optional = true }
signature = { version = "1.6.4", default-features = false }
@ -43,8 +43,11 @@ default_features = false
features = ["rand", "std", "u32_backend"]
[features]
default = ["nightly"]
ed25519-dalek = ["dep:ed25519-dalek", "_verify"]
ed25519-salty = ["dep:salty", "_verify"]
nightly = ["dep:embedded-storage-async"]
#Internal features
_verify = []