aml_uwb_331613010
Update crossbeam-queue to 0.3.4 am: e2987ca492 am: 454f5f0ee3 am: 2e8b9850c9 am: b3eb106e83

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/crossbeam-queue/+/2005112

Change-Id: I47f6b4693aa7ac1a4a744f3c20a3d9c0b2962d5f
tree: 662053bae03d524515a3e979a5d9bf693adf4976
  1. src/
  2. tests/
  3. .cargo_vcs_info.json
  4. Android.bp
  5. build.rs
  6. Cargo.toml
  7. Cargo.toml.orig
  8. cargo2android.json
  9. CHANGELOG.md
  10. LICENSE-APACHE
  11. LICENSE-MIT
  12. METADATA
  13. MODULE_LICENSE_APACHE2
  14. no_atomic.rs
  15. OWNERS
  16. README.md
  17. TEST_MAPPING
README.md

Crossbeam Queue

Build Status License Cargo Documentation Rust 1.36+ chat

This crate provides concurrent queues that can be shared among threads:

  • ArrayQueue, a bounded MPMC queue that allocates a fixed-capacity buffer on construction.
  • SegQueue, an unbounded MPMC queue that allocates small buffers, segments, on demand.

Everything in this crate can be used in no_std environments, provided that alloc feature is enabled.

Usage

Add this to your Cargo.toml:

[dependencies]
crossbeam-queue = "0.3"

Compatibility

Crossbeam Queue supports stable Rust releases going back at least six months, and every time the minimum supported Rust version is increased, a new minor version is released. Currently, the minimum supported Rust version is 1.36.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.