rust-bitcoin-unsafe-fast/hashes/src
merge-script f71e28eea2
Merge rust-bitcoin/rust-bitcoin#4047: Properly deprecate `Hash::from_slice`
f61e93ccf1 Properly deprecate Hash::from_slice (Tobin C. Harding)
50c0af7138 Stop using Hash::from_slice (Tobin C. Harding)

Pull request description:

  The `hashes::error::FromSliceError` error is only returned from `from_slice`. We attempted to deprecate this function but it seems we only did half a job at it.

  - deprecate _all_ instances of the method/function
  - deprecate the error type
  - stop using the deprecated functions in `bitcoin`

  Close: #4053

ACKs for top commit:
  apoelstra:
    ACK f61e93ccf1db7e7e3c9604fdb09b4e25195d88b2; successfully ran local tests

Tree-SHA512: 61a0e5127019859776ffac66bd4d320c86b8462bb1e908127d0bf42896aaa8df85fd2b06850342b694ca1cd68ed50355c81cad6ae3e9a5fd6e3933efe85498ad
2025-02-19 15:36:40 +00:00
..
hash160 Stop using Hash::from_slice 2025-02-17 12:39:11 +11:00
hkdf Merge rust-bitcoin/rust-bitcoin#4046: hashes: Add `Copy`, `Clone`, and `Debug` imlps for `Hkdf` 2025-02-18 14:14:13 +00:00
hmac Properly deprecate Hash::from_slice 2025-02-18 19:27:30 +11:00
ripemd160 Add missing hex feature gate 2025-02-14 11:44:55 +00:00
sha1 Add missing hex feature gate 2025-02-14 11:44:55 +00:00
sha256 Add missing hex feature gate 2025-02-14 11:44:55 +00:00
sha256d Stop using Hash::from_slice 2025-02-17 12:39:11 +11:00
sha256t Properly deprecate Hash::from_slice 2025-02-18 19:27:30 +11:00
sha384 Add missing hex feature gate 2025-02-14 11:44:55 +00:00
sha512 Add missing hex feature gate 2025-02-14 11:44:55 +00:00
sha512_256 Add missing hex feature gate 2025-02-14 11:44:55 +00:00
siphash24 Stop using Hash::from_slice 2025-02-17 12:39:11 +11:00
cmp.rs Add missing hex feature gate 2025-02-14 11:44:55 +00:00
error.rs Remove usage of impl_from_infallible in leaf crates 2025-01-02 07:51:21 +11:00
internal_macros.rs Properly deprecate Hash::from_slice 2025-02-18 19:27:30 +11:00
lib.rs Properly deprecate Hash::from_slice 2025-02-18 19:27:30 +11:00
macros.rs Merge rust-bitcoin/rust-bitcoin#4047: Properly deprecate `Hash::from_slice` 2025-02-19 15:36:40 +00:00