rust-bitcoin-unsafe-fast/hashes/src
Tobin C. Harding a308e1e2ea
Remove FromHex for all types except Vec and array
Remove `FromHex` from hash and script types

- Remove the `FromHex` implementation from hash types and `ScriptBuf`
- Remove the `FromStr` implementation from `ScriptBuf` because it does not
  roundtrip with `Display`.
- Implement a method `from_hex` on `ScriptBuf`.
- Implement `FromStr` on hash types using a fixed size array.

This leaves `FromHex` implementations only on `Vec` and fixed size arrays.
2023-02-01 08:26:46 +11:00
..
cmp.rs Import bitcoin_hashes crate into hashes 2022-11-08 08:58:09 +11:00
error.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
hash160.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
hex.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
hmac.rs Import bitcoin_hashes crate into hashes 2022-11-08 08:58:09 +11:00
impls.rs hashes: Implement std::error::Error 2023-02-01 08:22:46 +11:00
internal_macros.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
lib.rs Merge rust-bitcoin/rust-bitcoin#1413: Add sha512_256 to bitcoin_hashes 2022-12-31 19:38:02 +00:00
ripemd160.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
serde_macros.rs Import bitcoin_hashes crate into hashes 2022-11-08 08:58:09 +11:00
sha1.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
sha256.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
sha256d.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
sha256t.rs Use fully qualified path in macro 2023-02-01 08:22:46 +11:00
sha512.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
sha512_256.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
siphash24.rs Use fully qualified path in macro 2023-02-01 08:22:46 +11:00
util.rs Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00