7 releases

0.2.5 Oct 18, 2024
0.2.4 Oct 18, 2024
0.2.3 Oct 7, 2023
0.2.0 Jul 10, 2023
0.1.0 Nov 25, 2022

#499 in Concurrency

Download history 414/week @ 2025-01-17 258/week @ 2025-01-24 512/week @ 2025-01-31 417/week @ 2025-02-07 335/week @ 2025-02-14 518/week @ 2025-02-21 460/week @ 2025-02-28 661/week @ 2025-03-07 566/week @ 2025-03-14 543/week @ 2025-03-21 712/week @ 2025-03-28 556/week @ 2025-04-04 476/week @ 2025-04-11 430/week @ 2025-04-18 377/week @ 2025-04-25 216/week @ 2025-05-02

1,564 downloads per month
Used in 30 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.5–9MB
~78K SLoC