10 releases (4 breaking)

0.5.0 May 18, 2025
0.4.0 Apr 21, 2025
0.3.1 Apr 9, 2025
0.3.0 Mar 23, 2025
0.1.3 Oct 14, 2023

#54 in #tonic

Download history 27/week @ 2025-08-13 79/week @ 2025-08-20 51/week @ 2025-08-27 64/week @ 2025-09-03 54/week @ 2025-09-10 73/week @ 2025-09-17 55/week @ 2025-09-24 36/week @ 2025-10-01 76/week @ 2025-10-08 142/week @ 2025-10-15 45/week @ 2025-10-22 26/week @ 2025-10-29 94/week @ 2025-11-05 79/week @ 2025-11-12 25/week @ 2025-11-19 62/week @ 2025-11-26

266 downloads per month
Used in 7 crates (via rust-box)

MIT/Apache

150KB
3.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.12"

Examples

License

Licensed under either of

at your option.

Dependencies

~15–28MB
~442K SLoC