]> git.proxmox.com Git - rustc.git/blame - vendor/once_cell/Cargo.toml
New upstream version 1.67.1+dfsg1
[rustc.git] / vendor / once_cell / Cargo.toml
CommitLineData
e1599b0c
XL
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
a2a8927a 6# to registry (e.g., crates.io) dependencies.
e1599b0c 7#
a2a8927a
XL
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
e1599b0c
XL
11
12[package]
2b03887a
FG
13edition = "2021"
14rust-version = "1.56"
e1599b0c 15name = "once_cell"
487cf647 16version = "1.16.0"
e1599b0c 17authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
923072b8
FG
18exclude = [
19 "*.png",
20 "*.svg",
21 "/Cargo.lock.msrv",
22 "rustfmt.toml",
23]
e1599b0c
XL
24description = "Single assignment cells and lazy values."
25documentation = "https://docs.rs/once_cell"
26readme = "README.md"
923072b8
FG
27keywords = [
28 "lazy",
29 "static",
30]
31categories = [
32 "rust-patterns",
33 "memory-management",
34]
e1599b0c
XL
35license = "MIT OR Apache-2.0"
36repository = "https://github.com/matklad/once_cell"
923072b8 37
5869c6ff
XL
38[package.metadata.docs.rs]
39all-features = true
e1599b0c
XL
40
41[[example]]
f035d41b 42name = "bench"
e1599b0c
XL
43required-features = ["std"]
44
45[[example]]
f035d41b 46name = "bench_acquire"
e1599b0c
XL
47required-features = ["std"]
48
49[[example]]
50name = "bench_vs_lazy_static"
51required-features = ["std"]
52
53[[example]]
54name = "lazy_static"
55required-features = ["std"]
56
f035d41b
XL
57[[example]]
58name = "reentrant_init_deadlocks"
59required-features = ["std"]
60
e1599b0c
XL
61[[example]]
62name = "regex"
63required-features = ["std"]
f035d41b
XL
64
65[[example]]
66name = "test_synchronization"
67required-features = ["std"]
923072b8 68
487cf647 69[dependencies.atomic_polyfill]
f2b60f7d 70version = "1"
a2a8927a 71optional = true
487cf647
FG
72package = "atomic-polyfill"
73
74[dependencies.critical_section]
75version = "1"
76optional = true
77package = "critical-section"
a2a8927a 78
923072b8
FG
79[dependencies.parking_lot_core]
80version = "0.9.3"
e1599b0c
XL
81optional = true
82default_features = false
923072b8 83
487cf647
FG
84[dev-dependencies.critical_section]
85version = "1.1.1"
86features = ["std"]
87package = "critical-section"
88
e1599b0c 89[dev-dependencies.crossbeam-utils]
923072b8 90version = "0.8.7"
e1599b0c
XL
91
92[dev-dependencies.lazy_static]
93version = "1.0.0"
94
95[dev-dependencies.regex]
96version = "1.2.0"
97
98[features]
6a06907d 99alloc = ["race"]
487cf647
FG
100atomic-polyfill = ["critical-section"]
101critical-section = [
102 "critical_section",
103 "atomic_polyfill",
104]
e1599b0c 105default = ["std"]
923072b8 106parking_lot = ["parking_lot_core"]
6a06907d 107race = []
5869c6ff
XL
108std = ["alloc"]
109unstable = []