Registry / async / piper
library0.2.5rscratesunverified

An asynchronous single-consumer single-producer pipe for bytes, useful for streaming data.

# Cargo.toml [dependencies] piper = "0.2.5"
INSTALL
IMPORT
SIG · PIPER
P
piper
asyncrustv0.2.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pipe
use piper::Pipe;

Create a pipe and write data asynchronously.

use piper::Pipe; let (reader, writer) = Pipe::new(); writer.write_all(b"hello").await.unwrap();
Debug
Known issues
gotchaOnly supports single consumer and single producer; not thread-safe for multiple readers/writers.
fix
Use channels or other synchronization for multi-producer/consumer scenarios.
affects: >=0.2.0
Upgrade
Version history
0.2.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
piper — cargo add piper · libregistry