• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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]
13edition = "2018"
14name = "once_cell"
15version = "1.9.0"
16authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
17exclude = ["*.png", "*.svg", "/Cargo.lock.msrv", "/.travis.yml", "/run-miri-tests.sh", "rustfmt.toml"]
18description = "Single assignment cells and lazy values."
19documentation = "https://docs.rs/once_cell"
20readme = "README.md"
21keywords = ["lazy", "static"]
22categories = ["rust-patterns", "memory-management"]
23license = "MIT OR Apache-2.0"
24repository = "https://github.com/matklad/once_cell"
25[package.metadata.docs.rs]
26all-features = true
27
28[[example]]
29name = "bench"
30required-features = ["std"]
31
32[[example]]
33name = "bench_acquire"
34required-features = ["std"]
35
36[[example]]
37name = "bench_vs_lazy_static"
38required-features = ["std"]
39
40[[example]]
41name = "lazy_static"
42required-features = ["std"]
43
44[[example]]
45name = "reentrant_init_deadlocks"
46required-features = ["std"]
47
48[[example]]
49name = "regex"
50required-features = ["std"]
51
52[[example]]
53name = "test_synchronization"
54required-features = ["std"]
55[dependencies.atomic-polyfill]
56version = "0.1"
57optional = true
58
59[dependencies.parking_lot]
60version = "0.11"
61optional = true
62default_features = false
63[dev-dependencies.crossbeam-utils]
64version = "0.7.2"
65
66[dev-dependencies.lazy_static]
67version = "1.0.0"
68
69[dev-dependencies.regex]
70version = "1.2.0"
71
72[features]
73alloc = ["race"]
74default = ["std"]
75race = []
76std = ["alloc"]
77unstable = []
78