zlandau / crossbeam-channel

Multi-producer multi-consumer channels for message passing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Multi-producer multi-consumer channels for message passing

License:Apache License 2.0


Languages

Language:Rust 98.1%Language:Go 1.0%Language:Python 0.9%Language:Shell 0.1%