| [package] |
| name = "crossbeam-utils" |
| # When publishing a new version: |
| # - Update CHANGELOG.md |
| # - Update README.md |
| # - Create "crossbeam-utils-X.Y.Z" git tag |
| version = "0.8.3" |
| authors = ["The Crossbeam Project Developers"] |
| edition = "2018" |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/crossbeam-rs/crossbeam" |
| homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils" |
| documentation = "https://docs.rs/crossbeam-utils" |
| description = "Utilities for concurrent programming" |
| keywords = ["scoped", "thread", "atomic", "cache"] |
| categories = ["algorithms", "concurrency", "data-structures", "no-std"] |
| |
| [features] |
| default = ["std"] |
| |
| # Enable to use APIs that require `std`. |
| # This is enabled by default. |
| std = ["lazy_static"] |
| |
| # Enable to use of unstable functionality. |
| # This is disabled by default and requires recent nightly compiler. |
| # Note that this is outside of the normal semver guarantees and minor versions |
| # of crossbeam may make breaking changes to them at any time. |
| nightly = [] |
| |
| [dependencies] |
| cfg-if = "1" |
| lazy_static = { version = "1.4.0", optional = true } |
| |
| # Enable the use of loom for concurrency testing. |
| # |
| # This configuration option is outside of the normal semver guarantees: minor |
| # versions of crossbeam may make breaking changes to it at any time. |
| [target.'cfg(crossbeam_loom)'.dependencies] |
| loom = { version = "0.4", optional = true } |
| |
| [build-dependencies] |
| autocfg = "1.0.0" |
| |
| [dev-dependencies] |
| rand = "0.8" |