rust-bitcoin-unsafe-fast/io
Jamil Lambert, PhD 11770cac1c
Add hashes to io dev-depencies and require hex
The tests in `hash` require hex.  Previously this was enabled when
`alloc` was enabled.  Now `alloc` doesn't enable `hex` add `hashes` to
`dev-dependecies` and set it to require `hex`
2025-02-14 15:21:41 +00:00
..
contrib Invert dependency between io and hashes 2025-02-11 09:17:21 +11:00
src Invert dependency between io and hashes 2025-02-11 09:17:21 +11:00
tests Make io::Error Sync 2025-01-21 10:01:30 +11:00
CHANGELOG.md Bump version of bitcoin-io to 0.2.0 2024-10-02 09:47:10 +10:00
Cargo.toml Add hashes to io dev-depencies and require hex 2025-02-14 15:21:41 +00:00
README.md Change all occurrences of "IO" to "I/O" 2025-01-07 12:37:47 +00:00

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.