summaryrefslogtreecommitdiffstats
path: root/vendor/once_cell/Cargo.toml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:32 +0000
commit4547b622d8d29df964fa2914213088b148c498fc (patch)
tree9fc6b25f3c3add6b745be9a2400a6e96140046e9 /vendor/once_cell/Cargo.toml
parentReleasing progress-linux version 1.66.0+dfsg1-1~progress7.99u1. (diff)
downloadrustc-4547b622d8d29df964fa2914213088b148c498fc.tar.xz
rustc-4547b622d8d29df964fa2914213088b148c498fc.zip
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 = []