1[package]
2name = "crossbeam-epoch"
3# When publishing a new version:
4# - Update CHANGELOG.md
5# - Update README.md
6# - Create "crossbeam-epoch-X.Y.Z" git tag
7version = "0.9.18"
8edition = "2021"
9rust-version = "1.61"
10license = "MIT OR Apache-2.0"
11repository = "https://github.com/crossbeam-rs/crossbeam"
12homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-epoch"
13description = "Epoch-based garbage collection"
14keywords = ["lock-free", "rcu", "atomic", "garbage"]
15categories = ["concurrency", "memory-management", "no-std"]
16
17[features]
18default = ["std"]
19
20# Enable to use APIs that require `std`.
21# This is enabled by default.
22std = ["alloc", "crossbeam-utils/std"]
23
24# Enable to use APIs that require `alloc`.
25# This is enabled by default and also enabled if the `std` feature is enabled.
26#
27# NOTE: Disabling both `std` *and* `alloc` features is not supported yet.
28alloc = []
29
30# These features are no longer used.
31# TODO: remove in the next major version.
32# Enable to use of unstable functionality.
33# This is disabled by default and requires recent nightly compiler.
34#
35# NOTE: This feature is outside of the normal semver guarantees and minor or
36# patch versions of crossbeam may make breaking changes to them at any time.
37nightly = ["crossbeam-utils/nightly"]
38
39# Enable the use of loom for concurrency testing.
40#
41# NOTE: This feature is outside of the normal semver guarantees and minor or
42# patch versions of crossbeam may make breaking changes to them at any time.
43loom = ["loom-crate", "crossbeam-utils/loom"]
44
45[dependencies]
46crossbeam-utils = { version = "0.8.18", path = "../crossbeam-utils", default-features = false }
47
48# Enable the use of loom for concurrency testing.
49#
50# NOTE: This feature is outside of the normal semver guarantees and minor or
51# patch versions of crossbeam may make breaking changes to them at any time.
52[target.'cfg(crossbeam_loom)'.dependencies]
53loom-crate = { package = "loom", version = "0.7.1", optional = true }
54
55[dev-dependencies]
56rand = "0.8"
57