#channel #optimized #bounded-channel #lazy-evaluation #operations #bulk #create

jackiechan

Bounded mpsc channel optimized for lazy bulk operations

4 releases (1 stable)

1.0.0 May 27, 2021
0.0.4 Jan 30, 2021
0.0.2 Oct 11, 2020
0.0.1 Aug 22, 2020

#987 in Concurrency

Download history 99/week @ 2024-07-21 80/week @ 2024-07-28 47/week @ 2024-08-04 59/week @ 2024-08-11 49/week @ 2024-08-18 63/week @ 2024-08-25 66/week @ 2024-09-01 48/week @ 2024-09-08 35/week @ 2024-09-15 97/week @ 2024-09-22 36/week @ 2024-09-29 36/week @ 2024-10-06 31/week @ 2024-10-13 60/week @ 2024-10-20 40/week @ 2024-10-27 68/week @ 2024-11-03

200 downloads per month
Used in 5 crates (via rumqttlog)

MIT license

33KB
441 lines

jackiechan

Rust bounded mpsc channel optimized for bulk operations

This is currently a copy of stjepang's awesome async-channel crate with minor modifications to support both sync and async without futures_lite.

I'll iteratively modify this to create a new channel crate to fit my usecase (sharded arenas with lazy commits).

Go use async-channel instead


lib.rs:

Channel like interface on shared state

Dependencies

~210KB