]> git.proxmox.com Git - rustc.git/blame - vendor/once_cell/Cargo.toml
New upstream version 1.63.0+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]
13edition = "2018"
14name = "once_cell"
923072b8 15version = "1.12.0"
e1599b0c 16authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
923072b8
FG
17exclude = [
18 "*.png",
19 "*.svg",
20 "/Cargo.lock.msrv",
21 "rustfmt.toml",
22]
e1599b0c
XL
23description = "Single assignment cells and lazy values."
24documentation = "https://docs.rs/once_cell"
25readme = "README.md"
923072b8
FG
26keywords = [
27 "lazy",
28 "static",
29]
30categories = [
31 "rust-patterns",
32 "memory-management",
33]
e1599b0c
XL
34license = "MIT OR Apache-2.0"
35repository = "https://github.com/matklad/once_cell"
923072b8 36
5869c6ff
XL
37[package.metadata.docs.rs]
38all-features = true
e1599b0c
XL
39
40[[example]]
f035d41b 41name = "bench"
e1599b0c
XL
42required-features = ["std"]
43
44[[example]]
f035d41b 45name = "bench_acquire"
e1599b0c
XL
46required-features = ["std"]
47
48[[example]]
49name = "bench_vs_lazy_static"
50required-features = ["std"]
51
52[[example]]
53name = "lazy_static"
54required-features = ["std"]
55
f035d41b
XL
56[[example]]
57name = "reentrant_init_deadlocks"
58required-features = ["std"]
59
e1599b0c
XL
60[[example]]
61name = "regex"
62required-features = ["std"]
f035d41b
XL
63
64[[example]]
65name = "test_synchronization"
66required-features = ["std"]
923072b8 67
a2a8927a
XL
68[dependencies.atomic-polyfill]
69version = "0.1"
70optional = true
71
923072b8
FG
72[dependencies.parking_lot_core]
73version = "0.9.3"
e1599b0c
XL
74optional = true
75default_features = false
923072b8 76
e1599b0c 77[dev-dependencies.crossbeam-utils]
923072b8 78version = "0.8.7"
e1599b0c
XL
79
80[dev-dependencies.lazy_static]
81version = "1.0.0"
82
83[dev-dependencies.regex]
84version = "1.2.0"
85
86[features]
6a06907d 87alloc = ["race"]
e1599b0c 88default = ["std"]
923072b8 89parking_lot = ["parking_lot_core"]
6a06907d 90race = []
5869c6ff
XL
91std = ["alloc"]
92unstable = []