Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 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 |
David LeGare | 533bf13 | 2022-03-02 16:21:26 +0000 | [diff] [blame] | 6 | # to registry (e.g., crates.io) dependencies. |
Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 7 | # |
David LeGare | 533bf13 | 2022-03-02 16:21:26 +0000 | [diff] [blame] | 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. |
Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 11 | |
| 12 | [package] |
| 13 | edition = "2018" |
| 14 | name = "once_cell" |
David LeGare | 533bf13 | 2022-03-02 16:21:26 +0000 | [diff] [blame] | 15 | version = "1.9.0" |
Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 16 | authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"] |
Joel Galenson | e32d6ee | 2021-06-21 13:35:24 -0700 | [diff] [blame] | 17 | exclude = ["*.png", "*.svg", "/Cargo.lock.msrv", "/.travis.yml", "/run-miri-tests.sh", "rustfmt.toml"] |
Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 18 | description = "Single assignment cells and lazy values." |
| 19 | documentation = "https://docs.rs/once_cell" |
| 20 | readme = "README.md" |
| 21 | keywords = ["lazy", "static"] |
| 22 | categories = ["rust-patterns", "memory-management"] |
| 23 | license = "MIT OR Apache-2.0" |
| 24 | repository = "https://github.com/matklad/once_cell" |
Haibo Huang | df3e3bf | 2020-11-10 20:08:07 -0800 | [diff] [blame] | 25 | [package.metadata.docs.rs] |
| 26 | all-features = true |
Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 27 | |
| 28 | [[example]] |
| 29 | name = "bench" |
| 30 | required-features = ["std"] |
| 31 | |
| 32 | [[example]] |
| 33 | name = "bench_acquire" |
| 34 | required-features = ["std"] |
| 35 | |
| 36 | [[example]] |
| 37 | name = "bench_vs_lazy_static" |
| 38 | required-features = ["std"] |
| 39 | |
| 40 | [[example]] |
| 41 | name = "lazy_static" |
| 42 | required-features = ["std"] |
| 43 | |
| 44 | [[example]] |
| 45 | name = "reentrant_init_deadlocks" |
| 46 | required-features = ["std"] |
| 47 | |
| 48 | [[example]] |
| 49 | name = "regex" |
| 50 | required-features = ["std"] |
| 51 | |
| 52 | [[example]] |
| 53 | name = "test_synchronization" |
| 54 | required-features = ["std"] |
David LeGare | 533bf13 | 2022-03-02 16:21:26 +0000 | [diff] [blame] | 55 | [dependencies.atomic-polyfill] |
| 56 | version = "0.1" |
| 57 | optional = true |
| 58 | |
Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 59 | [dependencies.parking_lot] |
Haibo Huang | e42d5d8 | 2020-08-17 15:40:07 -0700 | [diff] [blame] | 60 | version = "0.11" |
Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 61 | optional = true |
| 62 | default_features = false |
| 63 | [dev-dependencies.crossbeam-utils] |
Haibo Huang | 0f3d5c2 | 2020-05-18 15:50:55 -0700 | [diff] [blame] | 64 | version = "0.7.2" |
Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 65 | |
| 66 | [dev-dependencies.lazy_static] |
| 67 | version = "1.0.0" |
| 68 | |
| 69 | [dev-dependencies.regex] |
| 70 | version = "1.2.0" |
| 71 | |
| 72 | [features] |
Elliott Hughes | e116d73 | 2021-04-01 16:26:32 -0700 | [diff] [blame] | 73 | alloc = ["race"] |
Chih-Hung Hsieh | ca5c755 | 2020-05-13 16:07:37 -0700 | [diff] [blame] | 74 | default = ["std"] |
Elliott Hughes | e116d73 | 2021-04-01 16:26:32 -0700 | [diff] [blame] | 75 | race = [] |
Haibo Huang | dc66c86 | 2020-11-12 06:55:59 -0800 | [diff] [blame] | 76 | std = ["alloc"] |
Haibo Huang | df3e3bf | 2020-11-10 20:08:07 -0800 | [diff] [blame] | 77 | unstable = [] |