rust-bitcoin-unsafe-fast/io
Martin Habovstiak 56b19d0601 Add missing IO impls for `std` types
Previously we've only implemented `bitcoin-io` traits for `BufReader`
and `BufWriter` with the reasoning that people should most likely use
those and implementing for other types is too much work. However since
then there were requests to implement them so we do in this commit.
2024-08-16 11:59:43 +02:00
..
contrib CI: Remove shebang from non-executable scripts 2024-05-31 10:10:00 +10:00
src Add missing IO impls for `std` types 2024-08-16 11:59:43 +02:00
CHANGELOG.md io: Bump version to 0.1.2 2024-03-15 06:25:55 +11:00
Cargo.toml Add missing IO impls for `std` types 2024-08-16 11:59:43 +02:00
README.md chore: format and standardize all markdowns files 2024-04-27 06:29:23 -03:00
build.rs Use macro to implement our traits for `std` types 2024-08-16 11:58:00 +02:00

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.