#std

std-ext

Extend the standard library functionality

10 releases

0.3.2 May 18, 2025
0.3.1 Oct 18, 2024
0.2.2 Dec 3, 2023
0.2.1 Oct 14, 2023
0.1.1 Oct 20, 2022

#464 in Concurrency

Download history 666/week @ 2025-10-21 511/week @ 2025-10-28 829/week @ 2025-11-04 679/week @ 2025-11-11 655/week @ 2025-11-18 569/week @ 2025-11-25 778/week @ 2025-12-02 591/week @ 2025-12-09 432/week @ 2025-12-16 349/week @ 2025-12-23 339/week @ 2025-12-30 360/week @ 2026-01-06 479/week @ 2026-01-13 503/week @ 2026-01-20 427/week @ 2026-01-27 478/week @ 2026-02-03

1,949 downloads per month
Used in 36 crates (3 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

~1MB
~11K SLoC