We have found calling macros from other crates to be error prone, especially when they involve feature gates. Furthermore the `impl_write` macro is trivial to write, users can just write it in the crate that needs it. Remove the macro. While we are at it point users to the examples in `bitcoin/examples/io.rs` for usage of the `io` crate. |
||
---|---|---|
.. | ||
contrib | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml | ||
README.md |
README.md
Rust-Bitcoin I/O 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.