summaryrefslogtreecommitdiffstats
path: root/vendor/once_cell/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/once_cell/Cargo.toml')
-rw-r--r--vendor/once_cell/Cargo.toml21
1 files changed, 18 insertions, 3 deletions
diff --git a/vendor/once_cell/Cargo.toml b/vendor/once_cell/Cargo.toml
index bde77ee9d..6587f4e52 100644
--- a/vendor/once_cell/Cargo.toml
+++ b/vendor/once_cell/Cargo.toml
@@ -13,7 +13,7 @@
edition = "2021"
rust-version = "1.56"
name = "once_cell"
-version = "1.15.0"
+version = "1.16.0"
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
exclude = [
"*.png",
@@ -34,7 +34,6 @@ categories = [
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/matklad/once_cell"
-resolver = "2"
[package.metadata.docs.rs]
all-features = true
@@ -67,15 +66,26 @@ required-features = ["std"]
name = "test_synchronization"
required-features = ["std"]
-[dependencies.atomic-polyfill]
+[dependencies.atomic_polyfill]
version = "1"
optional = true
+package = "atomic-polyfill"
+
+[dependencies.critical_section]
+version = "1"
+optional = true
+package = "critical-section"
[dependencies.parking_lot_core]
version = "0.9.3"
optional = true
default_features = false
+[dev-dependencies.critical_section]
+version = "1.1.1"
+features = ["std"]
+package = "critical-section"
+
[dev-dependencies.crossbeam-utils]
version = "0.8.7"
@@ -87,6 +97,11 @@ version = "1.2.0"
[features]
alloc = ["race"]
+atomic-polyfill = ["critical-section"]
+critical-section = [
+ "critical_section",
+ "atomic_polyfill",
+]
default = ["std"]
parking_lot = ["parking_lot_core"]
race = []