aboutsummaryrefslogtreecommitdiff
path: root/rtic-time
diff options
context:
space:
mode:
authordatdenkikniet <jcdra1@gmail.com>2023-04-10 10:52:21 +0200
committerdatdenkikniet <jcdra1@gmail.com>2023-04-10 10:52:21 +0200
commit452bad69b4b6d08b9e13e8ddf881385c6806c233 (patch)
treecfbd15497c7345aff5358c165357c1ef22e0ad1c /rtic-time
parentd445b20b1853e2e9de60b24e0ed04a463c8cd05f (diff)
Do not activate critical-section/std by default
Diffstat (limited to 'rtic-time')
-rw-r--r--rtic-time/Cargo.toml1
-rw-r--r--rtic-time/tests/timer_queue.rs4
2 files changed, 4 insertions, 1 deletions
diff --git a/rtic-time/Cargo.toml b/rtic-time/Cargo.toml
index dda8e60..69205fd 100644
--- a/rtic-time/Cargo.toml
+++ b/rtic-time/Cargo.toml
@@ -24,6 +24,5 @@ rtic-common = { version = "1.0.0-alpha.0", path = "../rtic-common" }
[dev-dependencies]
parking_lot = "0.12"
tokio = { version = "1.27", features = ["rt", "macros", "sync", "rt-multi-thread", "time"] }
-critical-section = { version = "1", features = ["std"] }
pretty_env_logger = "0.4"
log = "0.4"
diff --git a/rtic-time/tests/timer_queue.rs b/rtic-time/tests/timer_queue.rs
index 1ac96b8..cccf04d 100644
--- a/rtic-time/tests/timer_queue.rs
+++ b/rtic-time/tests/timer_queue.rs
@@ -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 parking_lot::Mutex;