#collection

no-std box-collections

A no_std compatible implementation of the collection crate

6 releases

0.2.0 May 18, 2025
0.1.4 Mar 23, 2025
0.1.3 Nov 1, 2024
0.1.1 Oct 18, 2024
0.1.0 Oct 5, 2023

#1218 in Data structures

Download history 97/week @ 2025-11-04 84/week @ 2025-11-11 36/week @ 2025-11-18 73/week @ 2025-11-25 63/week @ 2025-12-02 52/week @ 2025-12-09 42/week @ 2025-12-16 56/week @ 2025-12-23 59/week @ 2025-12-30 38/week @ 2026-01-06 67/week @ 2026-01-13 57/week @ 2026-01-20 51/week @ 2026-01-27 32/week @ 2026-02-03 35/week @ 2026-02-10 30/week @ 2026-02-17

159 downloads per month
Used in 9 crates (3 directly)

MIT/Apache

42KB
1K 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
~17K SLoC