| 1 | [package] |
| 2 | name = "crossbeam-utils" |
| 3 | # When publishing a new version: |
| 4 | # - Update CHANGELOG.md |
| 5 | # - Update README.md (when increasing major or minor version) |
| 6 | # - Run './tools/publish.sh crossbeam-utils <version>' |
| 7 | version = "0.8.21" |
| 8 | edition = "2021" |
| 9 | rust-version = "1.60" |
| 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-utils" |
| 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 = [] |
| 23 | |
| 24 | # These features are no longer used. |
| 25 | # TODO: remove in the next major version. |
| 26 | # Enable to use of unstable functionality. |
| 27 | # This is disabled by default and requires recent nightly compiler. |
| 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. |
| 31 | nightly = [] |
| 32 | |
| 33 | [dependencies] |
| 34 | |
| 35 | # Enable the use of loom for concurrency testing. |
| 36 | # |
| 37 | # NOTE: This feature is outside of the normal semver guarantees and minor or |
| 38 | # patch versions of crossbeam may make breaking changes to them at any time. |
| 39 | [target.'cfg(crossbeam_loom)'.dependencies] |
| 40 | loom = { version = "0.7.1" , optional = true } |
| 41 | |
| 42 | [dev-dependencies] |
| 43 | rand = "0.8" |
| 44 | |
| 45 | [lints] |
| 46 | workspace = true |
| 47 | |