rust-bitcoin-unsafe-fast/hashes/src
Tobin C. Harding fd4586eaae
Invert dependency between io and hashes
Currently in order to release `hashes v1.0` we need to 1.0 `io` as well.
For multiple reasons, many out of our control, the `io` crate may not
stabalise any time soon.

Instead we can invert the dependency between the two crates.

This is an ingenious idea, props to Kixunil for coming up with it.

Notes

- `io` does not currently re-export the `hashes` crate.
- This work highlights that we cannot call `hash_reader` on a siphash.
- The `Hmac::hash_reader` uses the default key which may not be obvious.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
2025-02-11 09:17:21 +11:00
..
hash160 hashes: Derive Debug for all hash engines 2025-02-07 11:16:59 +11:00
hkdf hashes: Make module subdirectories 2025-02-06 07:10:02 +11:00
hmac Invert dependency between io and hashes 2025-02-11 09:17:21 +11:00
ripemd160 hashes: Derive Debug for all hash engines 2025-02-07 11:16:59 +11:00
sha1 hashes: Derive Debug for all hash engines 2025-02-07 11:16:59 +11:00
sha256 hashes: Derive Debug for all hash engines 2025-02-07 11:16:59 +11:00
sha256d hashes: Derive Debug for all hash engines 2025-02-07 11:16:59 +11:00
sha256t Invert dependency between io and hashes 2025-02-11 09:17:21 +11:00
sha384 hashes: Derive Debug for all hash engines 2025-02-07 11:16:59 +11:00
sha512 hashes: Derive Debug for all hash engines 2025-02-07 11:16:59 +11:00
sha512_256 hashes: Derive Debug for all hash engines 2025-02-07 11:16:59 +11:00
siphash24 hashes: Make module subdirectories 2025-02-06 07:10:02 +11:00
cmp.rs Remove the SliceIndex implementation from hash types 2024-10-02 10:18:45 +10:00
error.rs Remove usage of impl_from_infallible in leaf crates 2025-01-02 07:51:21 +11:00
internal_macros.rs Invert dependency between io and hashes 2025-02-11 09:17:21 +11:00
lib.rs Invert dependency between io and hashes 2025-02-11 09:17:21 +11:00
macros.rs hashes: Use associated cost for pre-tagging 2025-02-08 13:27:30 +11:00