Registry / testing / mockstream

mockstream

JSON →
library0.0.3rscratesunverified

Stream (Read+Write traits) implementations to be used to mock real streams in tests.

# Cargo.toml [dependencies] mockstream = "0.0.3"
INSTALL
IMPORT
SIG · MOCKSTREAM
M
mockstream
testingrustv0.0.3
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.

MockStream
use mockstream::MockStream;

Create a mock stream for testing.

use mockstream::MockStream; let mut stream = MockStream::new(); stream.push_bytes(&[1,2,3]);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
mockstream — cargo add mockstream · libregistry