• Home
Name Date Size #Lines LOC

..--

src/03-May-2024-1,047563

tests/03-May-2024-460379

.cargo_vcs_info.jsonD03-May-2024109 66

Android.bpD03-May-20242.8 KiB10598

CHANGELOG.mdD03-May-2024948 5127

Cargo.tomlD03-May-20241.2 KiB5246

Cargo.toml.origD03-May-20241.4 KiB4941

LICENSED03-May-202410.6 KiB202169

LICENSE-APACHED03-May-202410.6 KiB202169

LICENSE-MITD03-May-20241.1 KiB2823

METADATAD03-May-2024384 2019

MODULE_LICENSE_APACHE2D03-May-20240

OWNERSD03-May-202447 21

README.mdD03-May-20242.1 KiB5538

TEST_MAPPINGD03-May-2024470 2524

build.rsD03-May-20241.3 KiB4220

cargo2android.jsonD03-May-2024135 99

no_atomic.rsD03-May-20242 KiB7266

README.md

1# Crossbeam Queue
2
3[![Build Status](https://github.com/crossbeam-rs/crossbeam/workflows/CI/badge.svg)](
4https://github.com/crossbeam-rs/crossbeam/actions)
5[![License](https://img.shields.io/badge/license-MIT_OR_Apache--2.0-blue.svg)](
6https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-queue#license)
7[![Cargo](https://img.shields.io/crates/v/crossbeam-queue.svg)](
8https://crates.io/crates/crossbeam-queue)
9[![Documentation](https://docs.rs/crossbeam-queue/badge.svg)](
10https://docs.rs/crossbeam-queue)
11[![Rust 1.36+](https://img.shields.io/badge/rust-1.36+-lightgray.svg)](
12https://www.rust-lang.org)
13[![chat](https://img.shields.io/discord/569610676205781012.svg?logo=discord)](https://discord.com/invite/JXYwgWZ)
14
15This crate provides concurrent queues that can be shared among threads:
16
17* [`ArrayQueue`], a bounded MPMC queue that allocates a fixed-capacity buffer on construction.
18* [`SegQueue`], an unbounded MPMC queue that allocates small buffers, segments, on demand.
19
20Everything in this crate can be used in `no_std` environments, provided that `alloc` feature is
21enabled.
22
23[`ArrayQueue`]: https://docs.rs/crossbeam-queue/*/crossbeam_queue/struct.ArrayQueue.html
24[`SegQueue`]: https://docs.rs/crossbeam-queue/*/crossbeam_queue/struct.SegQueue.html
25
26## Usage
27
28Add this to your `Cargo.toml`:
29
30```toml
31[dependencies]
32crossbeam-queue = "0.3"
33```
34
35## Compatibility
36
37Crossbeam Queue supports stable Rust releases going back at least six months,
38and every time the minimum supported Rust version is increased, a new minor
39version is released. Currently, the minimum supported Rust version is 1.36.
40
41## License
42
43Licensed under either of
44
45 * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
46 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
47
48at your option.
49
50#### Contribution
51
52Unless you explicitly state otherwise, any contribution intentionally submitted
53for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
54dual licensed as above, without any additional terms or conditions.
55