rust-box

Crates.iorust-box
lib.rsrust-box
version0.12.1
sourcesrc
created_at2022-09-13 15:23:14.770707
updated_at2024-11-06 14:51:28.873024
descriptionThis crate provides an odd set of tools for Rust programming
homepagehttps://github.com/try-box/rust-box
repositoryhttps://github.com/try-box/rust-box
max_upload_size
id664679
size14,331
trywen (tryor)

documentation

README

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.

Commit count: 203

cargo fmt