| 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.61" |
| 15 |
name = "crossbeam-epoch" |
| 16 |
version = "0.9.20" |
| 17 |
build = "build.rs" |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "Epoch-based garbage collection" |
| 24 |
homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-epoch" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"lock-free", |
| 28 |
"rcu", |
| 29 |
"atomic", |
| 30 |
"garbage", |
| 31 |
] |
| 32 |
categories = [ |
| 33 |
"concurrency", |
| 34 |
"memory-management", |
| 35 |
"no-std", |
| 36 |
] |
| 37 |
license = "MIT OR Apache-2.0" |
| 38 |
repository = "https://github.com/crossbeam-rs/crossbeam" |
| 39 |
|
| 40 |
[features] |
| 41 |
alloc = [] |
| 42 |
default = ["std"] |
| 43 |
loom = [ |
| 44 |
"loom-crate", |
| 45 |
"crossbeam-utils/loom", |
| 46 |
] |
| 47 |
nightly = ["crossbeam-utils/nightly"] |
| 48 |
std = [ |
| 49 |
"alloc", |
| 50 |
"crossbeam-utils/std", |
| 51 |
] |
| 52 |
|
| 53 |
[lib] |
| 54 |
name = "crossbeam_epoch" |
| 55 |
path = "src/lib.rs" |
| 56 |
|
| 57 |
[[example]] |
| 58 |
name = "sanitize" |
| 59 |
path = "examples/sanitize.rs" |
| 60 |
|
| 61 |
[[test]] |
| 62 |
name = "loom" |
| 63 |
path = "tests/loom.rs" |
| 64 |
|
| 65 |
[[bench]] |
| 66 |
name = "defer" |
| 67 |
path = "benches/defer.rs" |
| 68 |
|
| 69 |
[[bench]] |
| 70 |
name = "flush" |
| 71 |
path = "benches/flush.rs" |
| 72 |
|
| 73 |
[[bench]] |
| 74 |
name = "pin" |
| 75 |
path = "benches/pin.rs" |
| 76 |
|
| 77 |
[dependencies.crossbeam-utils] |
| 78 |
version = "0.8.18" |
| 79 |
default-features = false |
| 80 |
|
| 81 |
[dev-dependencies.rand] |
| 82 |
version = "0.8" |
| 83 |
|
| 84 |
[target."cfg(crossbeam_loom)".dependencies.loom-crate] |
| 85 |
version = "0.7.1" |
| 86 |
optional = true |
| 87 |
package = "loom" |
| 88 |
|
| 89 |
[lints.clippy.declare_interior_mutable_const] |
| 90 |
level = "allow" |
| 91 |
priority = 1 |
| 92 |
|
| 93 |
[lints.clippy.lint_groups_priority] |
| 94 |
level = "allow" |
| 95 |
priority = 1 |
| 96 |
|
| 97 |
[lints.rust.unexpected_cfgs] |
| 98 |
level = "warn" |
| 99 |
priority = 0 |
| 100 |
check-cfg = [ |
| 101 |
"cfg(crossbeam_loom)", |
| 102 |
"cfg(crossbeam_sanitize)", |
| 103 |
] |