mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-31 17:01:58 +00:00
Fix concerns
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
This crate provides the `RwStreamSink` type. It wraps around a `Stream + Sink` that produces
|
||||
byte arrays, and implements `AsyncRead` and `AsyncWrite`.
|
||||
and accepts byte arrays, and implements `AsyncRead` and `AsyncWrite`.
|
||||
|
||||
Each call to `write()` will send one packet on the sink. Calls to `read()` will read from
|
||||
incoming packets.
|
||||
|
||||
> **Note**: This crate is mostly a utility crate and is not at all specific to libp2p.
|
||||
> **Note**: Although this crate is hosted in the libp2p repo, it is purely a utility crate and
|
||||
> not at all specific to libp2p.
|
||||
|
@@ -22,12 +22,13 @@
|
||||
//#![doc(include = "../README.md")]
|
||||
|
||||
//! This crate provides the `RwStreamSink` type. It wraps around a `Stream + Sink` that produces
|
||||
//! byte arrays, and implements `AsyncRead` and `AsyncWrite`.
|
||||
//! and accepts byte arrays, and implements `AsyncRead` and `AsyncWrite`.
|
||||
//!
|
||||
//! Each call to `write()` will send one packet on the sink. Calls to `read()` will read from
|
||||
//! incoming packets.
|
||||
//!
|
||||
//! > **Note**: This crate is mostly a utility crate and is not at all specific to libp2p.
|
||||
//! > **Note**: Although this crate is hosted in the libp2p repo, it is purely a utility crate and
|
||||
//! > not at all specific to libp2p.
|
||||
|
||||
extern crate bytes;
|
||||
extern crate futures;
|
||||
|
Reference in New Issue
Block a user