# Multi-producer multi-consumer channels for message passing
[](https://travis-ci.org/crossbeam-rs/crossbeam-channel)
[](https://github.com/crossbeam-rs/crossbeam-channel)
[](https://crates.io/crates/crossbeam-channel)
[](https://docs.rs/crossbeam-channel)
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.
[`std::sync::mpsc`]: https://doc.rust-lang.org/std/sync/mpsc/index.html
## Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
crossbeam-channel = "0.2"
```
Next, add this to your crate:
```rust
#[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](LICENSE-MIT) and [LICENSE-APACHE](LICENSE-APACHE) for details.