tokio-mockstream

Crates.iotokio-mockstream
lib.rstokio-mockstream
version1.1.0
sourcesrc
created_at2017-06-21 22:54:59.501959
updated_at2017-08-02 14:52:22.704919
descriptionA fake stream for testing network applications backed by buffers.
homepage
repositoryhttps://github.com/aatxe/tokio-mockstream
max_upload_size
id20096
size17,435
aaron (aatxe)

documentation

README

tokio-mockstream Build Status Crates.io Built with Spacemacs

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.

Commit count: 9

cargo fmt