| 1 | [package] |
| 2 | name = "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 |
| 7 | version = "0.9.18" |
| 8 | edition = "2021" |
| 9 | rust-version = "1.61" |
| 10 | license = "MIT OR Apache-2.0" |
| 11 | repository = "https://github.com/crossbeam-rs/crossbeam" |
| 12 | homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-epoch" |
| 13 | description = "Epoch-based garbage collection" |
| 14 | keywords = ["lock-free" , "rcu" , "atomic" , "garbage" ] |
| 15 | categories = ["concurrency" , "memory-management" , "no-std" ] |
| 16 | |
| 17 | [features] |
| 18 | default = ["std" ] |
| 19 | |
| 20 | # Enable to use APIs that require `std`. |
| 21 | # This is enabled by default. |
| 22 | std = ["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. |
| 28 | alloc = [] |
| 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. |
| 37 | nightly = ["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. |
| 43 | loom = ["loom-crate" , "crossbeam-utils/loom" ] |
| 44 | |
| 45 | [dependencies] |
| 46 | crossbeam-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] |
| 53 | loom-crate = { package = "loom" , version = "0.7.1" , optional = true } |
| 54 | |
| 55 | [dev-dependencies] |
| 56 | rand = "0.8" |
| 57 | |