blob: 0a94bfc328d91dadbb3715ac772d4db6d2b00fcc [file] [log] [blame]
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -07001# 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
David LeGare533bf132022-03-02 16:21:26 +00006# to registry (e.g., crates.io) dependencies.
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -07007#
David LeGare533bf132022-03-02 16:21:26 +00008# 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.
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -070011
12[package]
13edition = "2018"
14name = "once_cell"
David LeGare533bf132022-03-02 16:21:26 +000015version = "1.9.0"
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -070016authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
Joel Galensone32d6ee2021-06-21 13:35:24 -070017exclude = ["*.png", "*.svg", "/Cargo.lock.msrv", "/.travis.yml", "/run-miri-tests.sh", "rustfmt.toml"]
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -070018description = "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"
Haibo Huangdf3e3bf2020-11-10 20:08:07 -080025[package.metadata.docs.rs]
26all-features = true
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -070027
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"]
David LeGare533bf132022-03-02 16:21:26 +000055[dependencies.atomic-polyfill]
56version = "0.1"
57optional = true
58
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -070059[dependencies.parking_lot]
Haibo Huange42d5d82020-08-17 15:40:07 -070060version = "0.11"
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -070061optional = true
62default_features = false
63[dev-dependencies.crossbeam-utils]
Haibo Huang0f3d5c22020-05-18 15:50:55 -070064version = "0.7.2"
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -070065
66[dev-dependencies.lazy_static]
67version = "1.0.0"
68
69[dev-dependencies.regex]
70version = "1.2.0"
71
72[features]
Elliott Hughese116d732021-04-01 16:26:32 -070073alloc = ["race"]
Chih-Hung Hsiehca5c7552020-05-13 16:07:37 -070074default = ["std"]
Elliott Hughese116d732021-04-01 16:26:32 -070075race = []
Haibo Huangdc66c862020-11-12 06:55:59 -080076std = ["alloc"]
Haibo Huangdf3e3bf2020-11-10 20:08:07 -080077unstable = []