2 stable releases
Uses old Rust 2015
1.1.0 | Jun 21, 2017 |
---|---|
1.0.0 | Jun 21, 2017 |
#1709 in Asynchronous
638 downloads per month
7KB
103 lines
tokio-mockstream
A fake stream for testing network applications backed by buffers.
Usage
[dependencies]
tokio-mockstream = "1.0"
Next, add this to your crate:
extern crate tokio_mockstream;
use tokio_mockstream::MockStream;
The general idea is to treat MockStream
as you would TcpStream
. You can find documentation online at docs.rs.
License
tokio-mockstream
is primarily distributed under the terms of both the MIT license
and the Apache License (Version 2.0).
See LICENSE-APACHE, and LICENSE-MIT for details.
lib.rs
:
A fake stream for testing network applications backed by buffers.
Dependencies
~605KB
~11K SLoC