rust-bitcoin-unsafe-fast/io
Matt Corallo 141343edb4 [IO] Move to custom `Read` trait mirroring `std::io::Read`
In order to move towards our own I/O traits in the `rust-bitcoin`
ecosystem, we have to slowly replace our use of the `std` and
`core2` traits.

Here we take the second big step, replacing
`{std,core2}::io::Read` with our own `bitcoin_io::io::Read`. We
provide a blanket impl for our trait for all `std::io::Read`, if
the `std` feature is enabled, allowing users who use their own
streams or `std` streams to call `rust-bitcoin` methods directly.
2023-11-07 05:51:39 +00:00
..
src [IO] Move to custom `Read` trait mirroring `std::io::Read` 2023-11-07 05:51:39 +00:00
Cargo.toml Add a `bitcoin_io` crate 2023-11-07 05:50:42 +00:00