2 releases

0.1.1 Oct 18, 2024
0.1.0 Dec 3, 2023

#566 in #convert

Download history 66/week @ 2025-05-21 56/week @ 2025-06-11 79/week @ 2025-06-18 62/week @ 2025-06-25 58/week @ 2025-07-02 34/week @ 2025-07-09 33/week @ 2025-07-16 27/week @ 2025-07-23 21/week @ 2025-07-30 107/week @ 2025-08-06 22/week @ 2025-08-13 122/week @ 2025-08-20 50/week @ 2025-08-27 97/week @ 2025-09-03

291 downloads per month
Used in 7 crates (2 directly)

MIT/Apache

5KB
124 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

~0.3–0.8MB
~19K SLoC