aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-04-06 22:07:20 +0200
committerGitHub <[email protected]>2025-04-06 22:07:20 +0200
commitf448cfb1dfb1e54a7bcda811b2522bb4b1642d27 (patch)
tree6e858a48568ecb9ffab3fea9313354da734a40d5
parentf9c66c5ad09eca619b0d64de62cf8ae7b2533db9 (diff)
parente1e7a5ddb5b83ac865cae15f7204f8ca5b7a43f2 (diff)
Merge pull request #4048 from ariel-os/embassy-time-no-std-critical-section
embassy-time: don't select `critical-section` impl for std
-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 7aaae89f9..80a39dbf5 100644
--- a/embassy-time/Cargo.toml
+++ b/embassy-time/Cargo.toml
@@ -45,7 +45,7 @@ defmt-timestamp-uptime-tus = ["defmt"]
45## Create a `MockDriver` that can be manually advanced for testing purposes. 45## Create a `MockDriver` that can be manually advanced for testing purposes.
46mock-driver = ["tick-hz-1_000_000", "dep:embassy-time-queue-utils"] 46mock-driver = ["tick-hz-1_000_000", "dep:embassy-time-queue-utils"]
47## Create a time driver for `std` environments. 47## Create a time driver for `std` environments.
48std = ["tick-hz-1_000_000", "critical-section/std", "dep:embassy-time-queue-utils"] 48std = ["tick-hz-1_000_000", "dep:embassy-time-queue-utils"]
49## Create a time driver for WASM. 49## Create a time driver for WASM.
50wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000", "dep:embassy-time-queue-utils"] 50wasm = ["dep:wasm-bindgen", "dep:js-sys", "dep:wasm-timer", "tick-hz-1_000_000", "dep:embassy-time-queue-utils"]
51 51