#channel #mpmc #select #golang #message

crossbeam-channel

Multi-producer multi-consumer channels for message passing

9 releases

0.2.4 Aug 2, 2018
0.2.3 Jul 20, 2018
0.2.1 Jun 12, 2018
0.1.3 May 23, 2018
0.1.1 Nov 27, 2017

#17 in Concurrency

Download history 3453/week @ 2018-06-21 3026/week @ 2018-06-28 3090/week @ 2018-07-05 3834/week @ 2018-07-12 4473/week @ 2018-07-19 4516/week @ 2018-07-26 10087/week @ 2018-08-02 12366/week @ 2018-08-09 12288/week @ 2018-08-16 11483/week @ 2018-08-23 11756/week @ 2018-08-30 10455/week @ 2018-09-06 13280/week @ 2018-09-13

16,131 downloads per month
Used in 180 crates (49 directly)

MIT/Apache

181KB
3.5K SLoC

Multi-producer multi-consumer channels for message passing

Build Status License Cargo Documentation

Crossbeam's channels are an alternative to the std::sync::mpsc channels provided by the standard library. They are an improvement in terms of performance, ergonomics, and features.

Usage

Add this to your Cargo.toml:

[dependencies]
crossbeam-channel = "0.2"

Next, add this to your crate:

#[macro_use]
extern crate crossbeam_channel;

The minimum required Rust version is 1.26.

License

Licensed under the terms of MIT license and the Apache License (Version 2.0).

See LICENSE-MIT and LICENSE-APACHE for details.

Dependencies

~1.5MB
~20K SLoC