rust-bitcoin-unsafe-fast/hashes/src
Tobin C. Harding ec06028f63
hashes: Make hex dependency optional
The only reason we need `hex-conservative` is to parse strings and
format them as hex. For users that do not require this functionality we
can make the `hex-conservative` crate an optional dependency.

The `serde` feature requires `Display` so we enable `hex` from the
`serde` feature.

If `hex` feature is not enabled we still need to be able to debug so
provide `fmt::Debug` functionality by way of macros.

Close: #2654
2024-11-14 09:36:55 +11:00
..
cmp.rs Remove the SliceIndex implementation from hash types 2024-10-02 10:18:45 +10:00
error.rs hashes: Duplicate impl_from_infallible 2024-11-05 11:19:19 +11:00
hash160.rs Merge rust-bitcoin/rust-bitcoin#3584: Standardize constructor type function docs 2024-11-06 16:05:24 +00:00
hkdf.rs 2024-09-08 automated rustfmt nightly 2024-09-08 01:17:12 +00:00
hmac.rs Remove hex string trait bounds from GeneralHash 2024-11-13 14:01:13 +11:00
internal_macros.rs hashes: Make hex dependency optional 2024-11-14 09:36:55 +11:00
lib.rs hashes: Make hex dependency optional 2024-11-14 09:36:55 +11:00
macros.rs hashes: Make hex dependency optional 2024-11-14 09:36:55 +11:00
ripemd160.rs Merge rust-bitcoin/rust-bitcoin#3584: Standardize constructor type function docs 2024-11-06 16:05:24 +00:00
sha1.rs Merge rust-bitcoin/rust-bitcoin#3584: Standardize constructor type function docs 2024-11-06 16:05:24 +00:00
sha256.rs hashes: Make hex dependency optional 2024-11-14 09:36:55 +11:00
sha256d.rs Merge rust-bitcoin/rust-bitcoin#3584: Standardize constructor type function docs 2024-11-06 16:05:24 +00:00
sha256t.rs hashes: Make hex dependency optional 2024-11-14 09:36:55 +11:00
sha384.rs Replace `creates` with `constructs` 2024-11-05 12:47:28 +00:00
sha512.rs Merge rust-bitcoin/rust-bitcoin#3584: Standardize constructor type function docs 2024-11-06 16:05:24 +00:00
sha512_256.rs Replace `creates` with `constructs` 2024-11-05 12:47:28 +00:00
siphash24.rs Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00