#ext #std

std-ext

Extend the standard library functionality

7 releases

0.2.2 Dec 3, 2023
0.2.1 Oct 14, 2023
0.1.3 Jul 10, 2023
0.1.2 Nov 25, 2022
0.1.1 Oct 20, 2022

#1422 in Rust patterns

Download history 168/week @ 2023-10-30 127/week @ 2023-11-06 125/week @ 2023-11-13 178/week @ 2023-11-20 179/week @ 2023-11-27 189/week @ 2023-12-04 183/week @ 2023-12-11 179/week @ 2023-12-18 198/week @ 2023-12-25 124/week @ 2024-01-01 213/week @ 2024-01-08 141/week @ 2024-01-15 152/week @ 2024-01-22 117/week @ 2024-01-29 147/week @ 2024-02-05 124/week @ 2024-02-12

546 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

21KB
630 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–6.5MB
~11K SLoC