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