1 unstable release

0.1.0 Dec 3, 2023

#5 in #event-test

Download history 31/week @ 2023-12-03 9/week @ 2023-12-10 2/week @ 2023-12-17 4/week @ 2023-12-24 1/week @ 2023-12-31 7/week @ 2024-01-07 7/week @ 2024-01-14 1/week @ 2024-01-21 9/week @ 2024-01-28 6/week @ 2024-02-04 8/week @ 2024-02-11 29/week @ 2024-02-18

53 downloads per month
Used in 2 crates

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.11"

Examples

License

Licensed under either of

at your option.

Dependencies

~0.4–1MB
~24K SLoC