[package] name = "crossbeam" # When publishing a new version: # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-X.Y.Z" git tag version = "0.8.4" edition = "2021" rust-version = "1.61" license = "MIT OR Apache-2.0" repository = "https://github.com/crossbeam-rs/crossbeam" homepage = "https://github.com/crossbeam-rs/crossbeam" description = "Tools for concurrent programming" keywords = ["atomic", "garbage", "non-blocking", "lock-free", "rcu"] categories = ["concurrency", "memory-management", "data-structures", "no-std"] exclude = ["/.*", "/ci", "/tools"] [features] default = ["std"] # Enable to use APIs that require `std`. # This is enabled by default. std = [ "alloc", "crossbeam-channel/std", "crossbeam-deque/std", "crossbeam-epoch/std", "crossbeam-queue/std", "crossbeam-utils/std", ] # Enable to use APIs that require `alloc`. # This is enabled by default and also enabled if the `std` feature is enabled. alloc = ["crossbeam-epoch/alloc", "crossbeam-queue/alloc"] # Enable to use of unstable functionality. # This is disabled by default and requires recent nightly compiler. # # NOTE: This feature is outside of the normal semver guarantees and minor or # patch versions of crossbeam may make breaking changes to them at any time. nightly = ["crossbeam-epoch/nightly", "crossbeam-utils/nightly", "crossbeam-queue/nightly"] [dependencies] crossbeam-channel = { version = "0.5.10", path = "crossbeam-channel", default-features = false, optional = true } crossbeam-deque = { version = "0.8.4", path = "crossbeam-deque", default-features = false, optional = true } crossbeam-epoch = { version = "0.9.17", path = "crossbeam-epoch", default-features = false, optional = true } crossbeam-queue = { version = "0.3.10", path = "crossbeam-queue", default-features = false, optional = true } crossbeam-utils = { version = "0.8.18", path = "crossbeam-utils", default-features = false } [dev-dependencies] rand = "0.8" [workspace] resolver = "2" members = [ ".", "crossbeam-channel", "crossbeam-channel/benchmarks", "crossbeam-deque", "crossbeam-epoch", "crossbeam-queue", "crossbeam-skiplist", "crossbeam-utils", ]