• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.7"
8edition = "2018"
9rust-version = "1.36"
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", "lazy_static"]
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# Enable to use of unstable functionality.
31# This is disabled by default and requires recent nightly compiler.
32#
33# NOTE: This feature is outside of the normal semver guarantees and minor or
34# patch versions of crossbeam may make breaking changes to them at any time.
35nightly = ["crossbeam-utils/nightly", "const_fn"]
36
37# Enable the use of loom for concurrency testing.
38#
39# NOTE: This feature is outside of the normal semver guarantees and minor or
40# patch versions of crossbeam may make breaking changes to them at any time.
41loom = ["loom-crate", "crossbeam-utils/loom"]
42
43[dependencies]
44cfg-if = "1"
45const_fn = { version = "0.4.4", optional = true }
46memoffset = "0.6"
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.5", optional = true }
54
55[dependencies.crossbeam-utils]
56version = "0.8.5"
57path = "../crossbeam-utils"
58default-features = false
59
60[dependencies.lazy_static]
61version = "1.4.0"
62optional = true
63
64[dependencies.scopeguard]
65version = "1.1.0"
66default-features = false
67
68[dev-dependencies]
69rand = "0.8"
70