aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Waples <[email protected]>2023-07-08 11:20:26 +0100
committerJames Waples <[email protected]>2023-07-08 11:20:26 +0100
commit05c524a7db1ee1ecc5397570a5dd00faf4b7316a (patch)
tree71eb1145c7657c23045dcc1dae03a432acb49016
parent758a2c528f3a7cf8049a5c62837acfa11cd9ede7 (diff)
Enable `critical-section/std` when using `std` feature of `embassy-time`
-rw-r--r--embassy-time/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml
index 0ff0e3beb..0afb1103d 100644
--- a/embassy-time/Cargo.toml
+++ b/embassy-time/Cargo.toml
@@ -23,7 +23,7 @@ target = "x86_64-unknown-linux-gnu"
23features = ["nightly", "defmt", "unstable-traits", "std"] 23features = ["nightly", "defmt", "unstable-traits", "std"]
24 24
25[features] 25[features]
26std = ["tick-hz-1_000_000"] 26std = ["tick-hz-1_000_000", "critical-section/std"]
27wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000"] 27wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000"]
28 28
29# Enable nightly-only features 29# Enable nightly-only features