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

#369 in Concurrency

Download history 93/week @ 2023-12-11 97/week @ 2023-12-18 96/week @ 2023-12-25 55/week @ 2024-01-01 131/week @ 2024-01-08 69/week @ 2024-01-15 88/week @ 2024-01-22 53/week @ 2024-01-29 94/week @ 2024-02-05 79/week @ 2024-02-12 104/week @ 2024-02-19 156/week @ 2024-02-26 178/week @ 2024-03-04 195/week @ 2024-03-11 270/week @ 2024-03-18 244/week @ 2024-03-25

893 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–11MB
~75K SLoC