From bdb7107fee877fd88c6e8990b0d3f3e4f564e034 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 7 Sep 2022 05:23:40 +0200 Subject: [PATCH] Fix feature. --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1d4f1f4..a771bc4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,13 +32,13 @@ parking_lot_core = { version = "0.9.3", optional = true, default_features = fals atomic-polyfill = { version = "1", optional = true } # Uses `critical-section` to implement `once_cell::sync::OnceCell`. -critical-section = { version = "1.1", optional = true } +critical_section = { package = "critical-section", version = "1.1", optional = true } [dev-dependencies] lazy_static = "1.0.0" crossbeam-utils = "0.8.7" regex = "1.2.0" -critical-section = { version = "1.1", features = ["std"] } +critical_section = { package = "critical-section", version = "1.1", features = ["std"] } [features] default = ["std"] @@ -56,7 +56,7 @@ sync = [] parking_lot = ["parking_lot_core"] -critical-section = ["dep:critical-section", "sync"] +critical-section = ["critical_section", "sync"] [[example]] name = "bench"