8 releases

0.2.6 May 18, 2025
0.2.5 Oct 18, 2024
0.2.3 Oct 7, 2023
0.2.0 Jul 10, 2023
0.1.0 Nov 25, 2022

#431 in Concurrency

Download history 697/week @ 2025-09-14 578/week @ 2025-09-21 540/week @ 2025-09-28 446/week @ 2025-10-05 642/week @ 2025-10-12 741/week @ 2025-10-19 554/week @ 2025-10-26 710/week @ 2025-11-02 660/week @ 2025-11-09 677/week @ 2025-11-16 620/week @ 2025-11-23 645/week @ 2025-11-30 720/week @ 2025-12-07

2,747 downloads per month
Used in 34 crates (7 directly)

MIT/Apache

63KB
2K 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

~3–4.5MB
~78K SLoC