Jakub Kotur | a1fea56 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 1 | [package] |
| 2 | name = "crossbeam-utils" |
| 3 | # When publishing a new version: |
| 4 | # - Update CHANGELOG.md |
| 5 | # - Update README.md |
| 6 | # - Create "crossbeam-utils-X.Y.Z" git tag |
David LeGare | 66bcc0c | 2022-03-01 19:05:04 +0000 | [diff] [blame] | 7 | version = "0.8.7" |
Jakub Kotur | a1fea56 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 8 | edition = "2018" |
David LeGare | 66bcc0c | 2022-03-01 19:05:04 +0000 | [diff] [blame] | 9 | rust-version = "1.36" |
Jakub Kotur | a1fea56 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 10 | license = "MIT OR Apache-2.0" |
Jakub Kotur | a1fea56 | 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-utils" |
Jakub Kotur | a1fea56 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 13 | description = "Utilities for concurrent programming" |
| 14 | keywords = ["scoped", "thread", "atomic", "cache"] |
| 15 | categories = ["algorithms", "concurrency", "data-structures", "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 = ["lazy_static"] |
| 23 | |
Joel Galenson | 2ce9167 | 2021-06-21 12:24:00 -0700 | [diff] [blame] | 24 | # These features are no longer used. |
| 25 | # TODO: remove in the next major version. |
Jakub Kotur | a1fea56 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 26 | # Enable to use of unstable functionality. |
| 27 | # This is disabled by default and requires recent nightly compiler. |
Joel Galenson | 2ce9167 | 2021-06-21 12:24:00 -0700 | [diff] [blame] | 28 | # |
| 29 | # NOTE: This feature is outside of the normal semver guarantees and minor or |
| 30 | # patch versions of crossbeam may make breaking changes to them at any time. |
Jakub Kotur | a1fea56 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 31 | nightly = [] |
| 32 | |
| 33 | [dependencies] |
| 34 | cfg-if = "1" |
| 35 | lazy_static = { version = "1.4.0", optional = true } |
| 36 | |
Joel Galenson | 2e99628 | 2021-04-01 15:39:07 -0700 | [diff] [blame] | 37 | # Enable the use of loom for concurrency testing. |
| 38 | # |
Joel Galenson | 2ce9167 | 2021-06-21 12:24:00 -0700 | [diff] [blame] | 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. |
Joel Galenson | 2e99628 | 2021-04-01 15:39:07 -0700 | [diff] [blame] | 41 | [target.'cfg(crossbeam_loom)'.dependencies] |
Joel Galenson | f32965f | 2021-05-20 10:13:47 -0700 | [diff] [blame] | 42 | loom = { version = "0.5", optional = true } |
Joel Galenson | 2e99628 | 2021-04-01 15:39:07 -0700 | [diff] [blame] | 43 | |
Jakub Kotur | a1fea56 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 44 | [dev-dependencies] |
Joel Galenson | 2e99628 | 2021-04-01 15:39:07 -0700 | [diff] [blame] | 45 | rand = "0.8" |
David LeGare | 66bcc0c | 2022-03-01 19:05:04 +0000 | [diff] [blame] | 46 | rustversion = "1" |