#queue #stream #sender

queue-ext

The extended feature of the queue can convert the pop() function of the queue to Stream and the push() function to Sender

5 releases (3 breaking)

0.4.1 Oct 5, 2023
0.4.0 Nov 25, 2022
0.3.0 Sep 29, 2022
0.2.1 Sep 20, 2022
0.1.0 Sep 13, 2022

#467 in Concurrency

Download history 145/week @ 2023-11-03 110/week @ 2023-11-10 183/week @ 2023-11-17 149/week @ 2023-11-24 171/week @ 2023-12-01 183/week @ 2023-12-08 177/week @ 2023-12-15 166/week @ 2023-12-22 170/week @ 2023-12-29 165/week @ 2024-01-05 185/week @ 2024-01-12 181/week @ 2024-01-19 134/week @ 2024-01-26 88/week @ 2024-02-02 151/week @ 2024-02-09 220/week @ 2024-02-16

629 downloads per month
Used in 6 crates (4 directly)

MIT/Apache

16KB
472 lines

Rust Box

GitHub Release crates.io Documentation

English | 简体中文

Rust Box This crate provides an odd set of tools for Rust programming:

Crates

The main rust-box crate just re-exports tools from smaller subcrates:

  • stream-ext An extension trait for Streams that provides a variety of convenient combinator functions.
  • queue-ext The extended feature of the queue can convert the pop() function of the queue to Stream and the push() function to Sender.
  • task-exec-queue A task execution queue. Can limit the number of concurrent tasks and execution order of the same type of tasks can be controlled.
  • event Event
  • std-ext Expand the function of the standard library to make it more convenient to use
  • mpsc MPSC channel based on queue-ext
  • dequemap Double-ended queue with Map feature

Usage

Add this to your Cargo.toml:

[dependencies]
rust-box = "0.11"

Examples

License

Licensed under either of

at your option.

Dependencies

~1–1.8MB
~36K SLoC