The `io::macros` crate uses a kind of nifty trick of putting `macro_export` _above_ the docs. But we do not do this anywhere else in the code base so its a bit surprising. We should be uniform. Simply because its an easier change move the `macro_export` attribute to be under the docs. Internal change only. |
||
---|---|---|
.. | ||
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.