1 unstable release

0.1.0 Oct 14, 2023

#18 in #counter

Download history 19/week @ 2023-10-28 27/week @ 2023-11-04 19/week @ 2023-11-11 26/week @ 2023-11-18 28/week @ 2023-11-25 23/week @ 2023-12-02 17/week @ 2023-12-09 17/week @ 2023-12-16 19/week @ 2023-12-23 10/week @ 2023-12-30 36/week @ 2024-01-06 24/week @ 2024-01-13 15/week @ 2024-01-20 14/week @ 2024-01-27 15/week @ 2024-02-03 24/week @ 2024-02-10

73 downloads per month
Used in 3 crates

MIT/Apache

9KB
233 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.11"

Examples

License

Licensed under either of

at your option.

Dependencies

~1.3–2MB
~44K SLoC