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

@ -17,17 +17,18 @@ target = "thumbv7em-none-eabi"
defmt = { version = "0.3", optional = true }
embassy-sync = { path = "../../embassy-sync" }
embassy-nrf = { path = "../../embassy-nrf", default-features = false, features = ["nightly"] }
embassy-nrf = { path = "../../embassy-nrf", default-features = false }
embassy-boot = { path = "../boot", default-features = false }
cortex-m = { version = "0.7.6" }
cortex-m-rt = { version = "0.7" }
embedded-storage = "0.3.0"
embedded-storage-async = "0.4.0"
embedded-storage-async = { version = "0.4.0", optional = true }
cfg-if = "1.0.0"
nrf-softdevice-mbr = { version = "0.1.0", git = "https://github.com/embassy-rs/nrf-softdevice.git", branch = "master", optional = true }
[features]
default = ["nightly"]
defmt = [
"dep:defmt",
"embassy-boot/defmt",
@ -36,3 +37,4 @@ defmt = [
softdevice = [
"nrf-softdevice-mbr",
]
nightly = ["dep:embedded-storage-async", "embassy-boot/nightly", "embassy-nrf/nightly"]

View File

@ -1,5 +1,5 @@
#![no_std]
#![feature(type_alias_impl_trait)]
#![cfg_attr(feature = "nightly", feature(type_alias_impl_trait))]
#![warn(missing_docs)]
#![doc = include_str!("../README.md")]
mod fmt;