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