rust-bitcoin-unsafe-fast/bitcoin
Martin Habovstiak 06f1f027ab Make `hash_newtype` evocative of the output
The API guidelines say macro input should be evocative of the output.
`hash_newtype` didn't have this property.

This change makes it look exactly like the resulting struct, `$len`
parameter was removed since it's not needed, reversing is controlled
using an attribute. The macro is also better documented and ready to be
extended in the future.

The tagged SHA256 newtype is not yet modified because it has a more
complicated input parameters.

Closes #1648
2023-02-22 14:35:50 +01:00
..
contrib Improve test coverage for docs build 2023-01-16 13:56:56 +11:00
embedded Instruct devs to use nightly for embedded 2023-02-03 08:44:47 +11:00
examples Rename schnorr module to taproot 2023-02-20 12:58:09 +11:00
fuzz Add a newtype for script-pushable slice 2023-02-18 16:35:25 +01:00
src Make `hash_newtype` evocative of the output 2023-02-22 14:35:50 +01:00
tests Rename schnorr module to taproot 2023-02-20 12:58:09 +11:00
CHANGELOG.md add some documentation clarifying the locktime ordering shenanigans in #1330 2022-12-15 23:12:03 +00:00
Cargo.toml Introduce `hex_lit` crate 2023-02-18 12:03:08 +01:00
build.rs Set rustv_1_53 in build script 2023-02-02 10:12:16 +11:00