3 releases (breaking)

0.3.0 Oct 21, 2024
0.2.0 Oct 21, 2024
0.1.0 Oct 14, 2023

#44 in #counter

Download history 197/week @ 2025-07-14 145/week @ 2025-07-21 75/week @ 2025-07-28 161/week @ 2025-08-04 93/week @ 2025-08-11 155/week @ 2025-08-18 228/week @ 2025-08-25 249/week @ 2025-09-01 185/week @ 2025-09-08 253/week @ 2025-09-15 224/week @ 2025-09-22 198/week @ 2025-09-29 95/week @ 2025-10-06 309/week @ 2025-10-13 227/week @ 2025-10-20 124/week @ 2025-10-27

783 downloads per month
Used in 31 crates (4 directly)

MIT/Apache

10KB
260 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.12"

Examples

License

Licensed under either of

at your option.

Dependencies

~1–1.8MB
~39K SLoC