Jason Macnak | 9228f81 | 2021-08-30 14:34:17 -0700 | [diff] [blame] | 1 | [package] |
| 2 | name = "crossbeam-queue" |
| 3 | # When publishing a new version: |
| 4 | # - Update CHANGELOG.md |
| 5 | # - Update README.md |
| 6 | # - Create "crossbeam-queue-X.Y.Z" git tag |
Jeff Vander Stoep | 38d6b2b | 2024-02-01 13:47:23 +0100 | [diff] [blame^] | 7 | version = "0.3.11" |
| 8 | edition = "2021" |
| 9 | rust-version = "1.60" |
Jason Macnak | 9228f81 | 2021-08-30 14:34:17 -0700 | [diff] [blame] | 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-queue" |
Jason Macnak | 9228f81 | 2021-08-30 14:34:17 -0700 | [diff] [blame] | 13 | description = "Concurrent queues" |
| 14 | keywords = ["queue", "mpmc", "lock-free", "producer", "consumer"] |
| 15 | categories = ["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 = ["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 | [dependencies] |
Jeff Vander Stoep | 38d6b2b | 2024-02-01 13:47:23 +0100 | [diff] [blame^] | 40 | crossbeam-utils = { version = "0.8.18", path = "../crossbeam-utils", default-features = false } |
Jason Macnak | 9228f81 | 2021-08-30 14:34:17 -0700 | [diff] [blame] | 41 | |
| 42 | [dev-dependencies] |
| 43 | rand = "0.8" |