5 releases

0.2.3 Oct 7, 2023
0.2.2 Oct 7, 2023
0.2.1 Oct 5, 2023
0.2.0 Jul 10, 2023
0.1.0 Nov 25, 2022

#209 in Concurrency

Download history 216/week @ 2023-10-28 125/week @ 2023-11-04 101/week @ 2023-11-11 181/week @ 2023-11-18 147/week @ 2023-11-25 168/week @ 2023-12-02 168/week @ 2023-12-09 159/week @ 2023-12-16 170/week @ 2023-12-23 157/week @ 2023-12-30 165/week @ 2024-01-06 183/week @ 2024-01-13 154/week @ 2024-01-20 117/week @ 2024-01-27 124/week @ 2024-02-03 156/week @ 2024-02-10

594 downloads per month
Used in 4 crates

MIT/Apache

55KB
1.5K SLoC

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

~3–10MB
~74K SLoC