#stream #rate-limiting #limiter

stream-ext

An extension trait for Streams that provides a variety of convenient combinator functions

5 releases

0.2.4 Oct 25, 2023
0.2.3 Oct 5, 2023
0.2.2 Sep 29, 2022
0.1.0 Sep 13, 2022

#502 in Asynchronous

Download history 2/week @ 2024-01-06 1/week @ 2024-01-13 6/week @ 2024-02-17 19/week @ 2024-02-24 12/week @ 2024-03-02 23/week @ 2024-03-09 117/week @ 2024-03-16 155/week @ 2024-03-23 71/week @ 2024-03-30 51/week @ 2024-04-06 103/week @ 2024-04-13 70/week @ 2024-04-20

338 downloads per month
Used in rust-box

MIT/Apache

7KB
151 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.7–9MB
~69K SLoC