rust-bitcoin-unsafe-fast/bitcoin/src
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
..
address Update bech32 dependency 2023-10-10 06:47:58 +11:00
blockdata Use `io::sink` rather than our custom `EmptyWrite` utility 2023-11-07 05:50:45 +00:00
consensus Stop relying on `Take`'s `by_ref` method 2023-11-07 05:51:37 +00:00
crypto Stop relying on blanket Read impl for all &mut Read 2023-11-07 05:51:36 +00:00
merkle_tree Merge rust-bitcoin/rust-bitcoin#1986: Remove private hex test macro 2023-10-06 22:14:12 +00:00
p2p [IO] Move to custom `Read` trait mirroring `std::io::Read` 2023-11-07 05:51:39 +00:00
psbt Stop relying on blanket Read impl for all &mut Read 2023-11-07 05:51:36 +00:00
amount.rs Remove code deprecated since v0.31.0 2023-11-04 12:14:54 +11:00
base58.rs Merge rust-bitcoin/rust-bitcoin#1986: Remove private hex test macro 2023-10-06 22:14:12 +00:00
bip32.rs Upgrade the secp dependency 2023-10-10 10:04:31 +11:00
bip152.rs Make error types uniform 2023-10-04 15:15:52 +11:00
bip158.rs Stop relying on blanket Read impl for all &mut Read 2023-11-07 05:51:36 +00:00
error.rs Remove impl_std_error macro 2023-10-04 15:15:34 +11:00
hash_types.rs Move XpubIdentifier to the bip32 module 2023-09-04 02:13:55 +10:00
internal_macros.rs [IO] Move to custom `Read` trait mirroring `std::io::Read` 2023-11-07 05:51:39 +00:00
lib.rs [IO] Replace `std::io::Sink` usage with our own trivial impl 2023-11-07 05:51:36 +00:00
network.rs Make error types uniform 2023-10-04 15:15:52 +11:00
parse.rs Make error types uniform 2023-10-04 15:15:52 +11:00
policy.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
pow.rs Remove code deprecated since v0.31.0 2023-11-04 12:14:54 +11:00
serde_utils.rs Depend on hex-conservative 2023-07-21 10:59:46 +10:00
sign_message.rs Use Message::from_digest 2023-10-11 08:16:25 +11:00
string.rs Make error types uniform 2023-10-04 15:15:52 +11:00
taproot.rs Add missing `?Sized` bounds to `io::Write` parameters 2023-11-07 05:50:51 +00:00
test_macros.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00