#std #standard #english

std-ext

Extend the standard library functionality

9 releases

0.3.1 Oct 18, 2024
0.3.0 Oct 18, 2024
0.2.2 Dec 3, 2023
0.2.1 Oct 14, 2023
0.1.1 Oct 20, 2022

#222 in Concurrency

Download history 226/week @ 2024-11-29 444/week @ 2024-12-06 402/week @ 2024-12-13 337/week @ 2024-12-20 293/week @ 2024-12-27 305/week @ 2025-01-03 493/week @ 2025-01-10 405/week @ 2025-01-17 250/week @ 2025-01-24 494/week @ 2025-01-31 432/week @ 2025-02-07 362/week @ 2025-02-14 491/week @ 2025-02-21 458/week @ 2025-02-28 658/week @ 2025-03-07 563/week @ 2025-03-14

2,245 downloads per month
Used in 8 crates (2 directly)

MIT/Apache

97KB
2.5K SLoC

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

Examples

License

Licensed under either of

at your option.

Dependencies

~650KB