rust-bitcoin-unsafe-fast/hashes/src
Tobin C. Harding 9ae3285882
hashes: Improve feature gating
Currently we have a few things mixed up in the feature gating of
`hashes`.

Observe that:
- `io::Write` is not related to allocation.
- "std" should be able to enable "alloc".

Improve feature gating by doing:

- Enable "alloc" from "std" and simplify `cfg` codebase wide.
- Enable "internals/alloc" from "alloc".
- Fix feature gating to use the minimal requirement i.e., "alloc".
2023-02-14 06:23:56 +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 hashes: Improve feature gating 2023-02-14 06:23:56 +11:00
hex.rs hashes: Improve feature gating 2023-02-14 06:23:56 +11:00
hmac.rs hashes: Improve feature gating 2023-02-14 06:23:56 +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 hashes: Improve feature gating 2023-02-14 06:23:56 +11:00
ripemd160.rs hashes: Improve feature gating 2023-02-14 06:23:56 +11:00
serde_macros.rs Import bitcoin_hashes crate into hashes 2022-11-08 08:58:09 +11:00
sha1.rs hashes: Improve feature gating 2023-02-14 06:23:56 +11:00
sha256.rs hashes: Improve feature gating 2023-02-14 06:23:56 +11:00
sha256d.rs hashes: Improve feature gating 2023-02-14 06:23:56 +11:00
sha256t.rs hashes: Improve feature gating 2023-02-14 06:23:56 +11:00
sha512.rs hashes: Improve feature gating 2023-02-14 06:23:56 +11:00
sha512_256.rs hashes: Improve feature gating 2023-02-14 06:23:56 +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