#std #standard #programming

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

#332 in Data structures

Download history 48/week @ 2024-01-01 118/week @ 2024-01-08 50/week @ 2024-01-15 63/week @ 2024-01-22 31/week @ 2024-01-29 71/week @ 2024-02-05 41/week @ 2024-02-12 100/week @ 2024-02-19 160/week @ 2024-02-26 160/week @ 2024-03-04 211/week @ 2024-03-11 261/week @ 2024-03-18 348/week @ 2024-03-25 501/week @ 2024-04-01 381/week @ 2024-04-08 445/week @ 2024-04-15

1,680 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