Remove cargo namespaced-features
This commit is contained in:
parent
7991b05e4c
commit
d4f2c6cf00
9 changed files with 12 additions and 19 deletions
|
@ -1,2 +0,0 @@
|
|||
[unstable]
|
||||
namespaced-features = true
|
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -22,4 +22,4 @@ jobs:
|
|||
components: rust-src
|
||||
override: true
|
||||
- name: Build
|
||||
run: ./test-build.sh
|
||||
run: ./ci.sh
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[unstable]
|
||||
namespaced-features = true
|
||||
build-std = ["core"]
|
||||
build-std-features = ["panic_immediate_abort"]
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ defmt-error = []
|
|||
|
||||
[dependencies]
|
||||
embassy = { version = "0.1.0", path = "../embassy", features = ["defmt", "defmt-trace"] }
|
||||
embassy-traits = { version = "0.1.0", path = "../embassy-traits", features = ["defmt"] }
|
||||
embassy-nrf = { version = "0.1.0", path = "../embassy-nrf", features = ["defmt", "defmt-trace", "52840"] }
|
||||
|
||||
defmt = "0.2.0"
|
||||
|
|
|
@ -4,8 +4,8 @@ use core::ops::Deref;
|
|||
use core::pin::Pin;
|
||||
use core::ptr;
|
||||
use core::task::{Context, Poll};
|
||||
use embassy::traits::gpio::{WaitForHigh, WaitForLow};
|
||||
use embassy::interrupt::InterruptExt;
|
||||
use embassy::traits::gpio::{WaitForHigh, WaitForLow};
|
||||
use embassy::util::Signal;
|
||||
|
||||
use crate::hal::gpio::{Input, Level, Output, Pin as GpioPin, Port};
|
||||
|
|
|
@ -18,6 +18,7 @@ defmt-error = []
|
|||
|
||||
[dependencies]
|
||||
embassy = { version = "0.1.0", path = "../embassy", features = ["defmt", "defmt-trace"] }
|
||||
embassy-traits = { version = "0.1.0", path = "../embassy-traits", features = ["defmt"] }
|
||||
embassy-stm32f4 = { version = "*", path = "../embassy-stm32f4", features = ["stm32f401"] }
|
||||
|
||||
defmt = "0.2.0"
|
||||
|
|
|
@ -4,14 +4,8 @@ version = "0.1.0"
|
|||
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
defmt = { version = "0.2.0", optional = true }
|
||||
|
||||
[features]
|
||||
std = []
|
||||
|
||||
defmt-trace = []
|
||||
defmt-debug = []
|
||||
defmt-info = []
|
||||
defmt-warn = []
|
||||
defmt-error = []
|
||||
[dependencies]
|
||||
defmt = { version = "0.2.0", optional = true }
|
||||
|
|
|
@ -6,12 +6,12 @@ edition = "2018"
|
|||
|
||||
[features]
|
||||
std = ["futures/std", "embassy-traits/std"]
|
||||
defmt = ["embassy-traits/defmt", "dep:defmt"]
|
||||
defmt-trace = ["embassy-traits/defmt-trace"]
|
||||
defmt-debug = ["embassy-traits/defmt-debug"]
|
||||
defmt-info = ["embassy-traits/defmt-info"]
|
||||
defmt-warn = ["embassy-traits/defmt-warn"]
|
||||
defmt-error = ["embassy-traits/defmt-error"]
|
||||
|
||||
defmt-trace = []
|
||||
defmt-debug = []
|
||||
defmt-info = []
|
||||
defmt-warn = []
|
||||
defmt-error = []
|
||||
|
||||
[dependencies]
|
||||
defmt = { version = "0.2.0", optional = true }
|
||||
|
|
Loading…
Reference in a new issue