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