7 releases

0.1.6 Mar 30, 2023
0.1.5 Jun 15, 2021
0.1.4 May 23, 2021
0.1.2 Mar 1, 2021
0.1.1 Feb 22, 2021

#7 in #two-way

32 downloads per month
Used in clever-graphics

MIT/Apache

13KB
198 lines

Deprecated

crossbeam_channel and async_channel have more efficient and more well-tested single-item channels than this crate does. From this point on, this crate is deprecated.

orphan-crippler

Build Status crates.io Docs

The orphan-crippler crate is designed to assist in building abstractions where work is offloaded to another thread, for reasons such as blocking or OS-specific threads. For this reason, orphan-crippler implements the Two-Way Oneshot (two) channel type, that allows one to send data to another thread and get more data in response.

Features

The optional parking_lot feature replaces the usual std::sync::Mutex usage in this crate with those from the parking_lot crate. This pulls in a handful of other dependencies and is only really recommended if you are already using parking_lot elsewhere in your application.

License

MIT/Apache2 License

Dependencies

~0–305KB