We want to implement the traits for more types which would be tedious without a macro and it'd risk forgetting to forward some method since they may be speialized. This also adds previously-forgotten specializations. It also relaxes the implicit `Sized` bound on `BufReader` and `BufWriter` in Rust versions above 1.72. |
||
---|---|---|
.. | ||
contrib | ||
src | ||
CHANGELOG.md | ||
Cargo.toml | ||
README.md | ||
build.rs |
README.md
Rust-Bitcoin IO Library
The std::io
module is not exposed in no-std
Rust so building no-std
applications which require
reading and writing objects via standard traits is not generally possible. Thus, this library exists
to export a minimal version of std::io
's traits which we use in rust-bitcoin
so that we can
support no-std
applications.
These traits are not one-for-one drop-ins, but are as close as possible while still implementing
std::io
's traits without unnecessary complexity.