Do not activate critical-section/std by default

This commit is contained in:
datdenkikniet 2023-04-10 10:52:21 +02:00
parent d445b20b18
commit 452bad69b4
2 changed files with 4 additions and 1 deletions

View file

@ -24,6 +24,5 @@ rtic-common = { version = "1.0.0-alpha.0", path = "../rtic-common" }
[dev-dependencies] [dev-dependencies]
parking_lot = "0.12" parking_lot = "0.12"
tokio = { version = "1.27", features = ["rt", "macros", "sync", "rt-multi-thread", "time"] } tokio = { version = "1.27", features = ["rt", "macros", "sync", "rt-multi-thread", "time"] }
critical-section = { version = "1", features = ["std"] }
pretty_env_logger = "0.4" pretty_env_logger = "0.4"
log = "0.4" log = "0.4"

View file

@ -1,3 +1,7 @@
//! A test that verifies the correctness of the [`TimerQueue`].
//!
//! To run this test, you need to activate the `critical-section/std` feature.
use std::{fmt::Debug, time::Duration}; use std::{fmt::Debug, time::Duration};
use parking_lot::Mutex; use parking_lot::Mutex;