blob: 410122c348dad432c078123de0bb7d988338cdde [file] [log] [blame]
Jason Macnak9228f812021-08-30 14:34:17 -07001[package]
2name = "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 Stoep38d6b2b2024-02-01 13:47:23 +01007version = "0.3.11"
8edition = "2021"
9rust-version = "1.60"
Jason Macnak9228f812021-08-30 14:34:17 -070010license = "MIT OR Apache-2.0"
11repository = "https://github.com/crossbeam-rs/crossbeam"
12homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-queue"
Jason Macnak9228f812021-08-30 14:34:17 -070013description = "Concurrent queues"
14keywords = ["queue", "mpmc", "lock-free", "producer", "consumer"]
15categories = ["concurrency", "data-structures", "no-std"]
16
17[features]
18default = ["std"]
19
20# Enable to use APIs that require `std`.
21# This is enabled by default.
22std = ["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.
28alloc = []
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.
37nightly = ["crossbeam-utils/nightly"]
38
39[dependencies]
Jeff Vander Stoep38d6b2b2024-02-01 13:47:23 +010040crossbeam-utils = { version = "0.8.18", path = "../crossbeam-utils", default-features = false }
Jason Macnak9228f812021-08-30 14:34:17 -070041
42[dev-dependencies]
43rand = "0.8"