2 releases
0.1.1 | Mar 21, 2022 |
---|---|
0.1.0 | Mar 21, 2022 |
#42 in #tcp-stream
Used in fixed-buffer
9KB
83 lines
read-write-ext
ReadWriteExt
trait with chain_after
and take_rw
for std::io::Read + Write
structs.
Features
forbid(unsafe_code)
- Depends only on
std
. - Good test coverage (99%)
- Like
std::io::Read::chain
andstd::io::Read::take
but also passes through writes. - Useful with
Read + Write
objects likestd::net::TcpStream
andrustls::Stream
.
Changelog
- v0.1.1 -
take_rw
to takeu64
likestd::io::Read::take
. - v0.1.0 - Initial release. Moved code from
fixed-buffer
.
TO DO
Release Process
- Edit
Cargo.toml
and bump version number. - Run
../release.sh
License: Apache-2.0