Debian Codegraph @

.cargo/vendor/once_cell/Cargo.toml

raw
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.60"
15 name = "once_cell"
16 version = "1.19.0"
17 authors = ["Aleksey Kladov <[email protected]>"]
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
38 [package.metadata.docs.rs]
39 all-features = true
40 rustdoc-args = ["--generate-link-to-definition"]
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 = "lazy_static"
52 required-features = ["std"]
53
54 [[example]]
55 name = "reentrant_init_deadlocks"
56 required-features = ["std"]
57
58 [[example]]
59 name = "regex"
60 required-features = ["std"]
61
62 [[example]]
63 name = "test_synchronization"
64 required-features = ["std"]
65
66 [dependencies.critical-section]
67 version = "1"
68 optional = true
69
70 [dependencies.parking_lot_core]
71 version = "0.9.3"
72 optional = true
73 default_features = false
74
75 [dependencies.portable-atomic]
76 version = "1"
77 optional = true
78
79 [dev-dependencies.critical-section]
80 version = "1.1.1"
81 features = ["std"]
82
83 [dev-dependencies.regex]
84 version = "1.2.0"
85
86 [features]
87 alloc = ["race"]
88 atomic-polyfill = ["critical-section"]
89 critical-section = [
90 "dep:critical-section",
91 "portable-atomic",
92 ]
93 default = ["std"]
94 parking_lot = ["dep:parking_lot_core"]
95 race = []
96 std = ["alloc"]
97 unstable = []