Jakub Kotur | fc1672b | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 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 |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame] | 7 | version = "0.9.3" |
Jakub Kotur | fc1672b | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 8 | authors = ["The Crossbeam Project Developers"] |
| 9 | edition = "2018" |
| 10 | license = "MIT OR Apache-2.0" |
Jakub Kotur | fc1672b | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 11 | repository = "https://github.com/crossbeam-rs/crossbeam" |
| 12 | homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-epoch" |
| 13 | documentation = "https://docs.rs/crossbeam-epoch" |
| 14 | description = "Epoch-based garbage collection" |
| 15 | keywords = ["lock-free", "rcu", "atomic", "garbage"] |
| 16 | categories = ["concurrency", "memory-management", "no-std"] |
| 17 | |
| 18 | [features] |
| 19 | default = ["std"] |
| 20 | |
| 21 | # Enable to use APIs that require `std`. |
| 22 | # This is enabled by default. |
| 23 | std = ["alloc", "crossbeam-utils/std", "lazy_static"] |
| 24 | |
| 25 | # Enable to use APIs that require `alloc`. |
| 26 | # This is enabled by default and also enabled if the `std` feature is enabled. |
| 27 | alloc = [] |
| 28 | |
| 29 | # Enable to use of unstable functionality. |
| 30 | # This is disabled by default and requires recent nightly compiler. |
| 31 | # Note that this is outside of the normal semver guarantees and minor versions |
| 32 | # of crossbeam may make breaking changes to them at any time. |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame] | 33 | nightly = ["crossbeam-utils/nightly", "const_fn"] |
Jakub Kotur | fc1672b | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 34 | |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame] | 35 | # Enable the use of loom for concurrency testing. |
| 36 | # |
| 37 | # This configuration option is outside of the normal semver guarantees: minor |
| 38 | # versions of crossbeam may make breaking changes to it at any time. |
| 39 | loom = ["loom-crate", "crossbeam-utils/loom"] |
Jakub Kotur | fc1672b | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 40 | |
| 41 | [dependencies] |
| 42 | cfg-if = "1" |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame] | 43 | const_fn = { version = "0.4.4", optional = true } |
Jakub Kotur | fc1672b | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 44 | memoffset = "0.6" |
| 45 | |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame] | 46 | # Enable the use of loom for concurrency testing. |
| 47 | # |
| 48 | # This configuration option is outside of the normal semver guarantees: minor |
| 49 | # versions of crossbeam may make breaking changes to it at any time. |
| 50 | [target.'cfg(crossbeam_loom)'.dependencies] |
| 51 | loom-crate = { package = "loom", version = "0.4", optional = true } |
| 52 | |
Jakub Kotur | fc1672b | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 53 | [dependencies.crossbeam-utils] |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame] | 54 | version = "0.8.3" |
Jakub Kotur | fc1672b | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 55 | path = "../crossbeam-utils" |
| 56 | default-features = false |
| 57 | |
| 58 | [dependencies.lazy_static] |
| 59 | version = "1.4.0" |
| 60 | optional = true |
| 61 | |
| 62 | [dependencies.scopeguard] |
| 63 | version = "1.1.0" |
| 64 | default-features = false |
| 65 | |
| 66 | [dev-dependencies] |
Joel Galenson | 0d44092 | 2021-04-01 15:34:31 -0700 | [diff] [blame] | 67 | rand = "0.8" |