rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding 6ba7758b30
Improve array macros
Currently we have two macros used when creating array wrapper types,
one is in `internals` and the other in `bitcoin::internal_macros`. It
is not immediately obvious what is what and why there are two.

Improve the macros by:

- Move the inherent functions to `impl_array_newtype`
- Use `*_byte_array` for the names instead of `*_bytes` for functions
  that return arrays
- Add `as_bytes` to return a slice
- Add `to_bytes` to return a vector
- Re-name the other macro to match what it now does
2024-05-14 10:42:40 +10:00
..
contrib CI: Re-write run_task.sh 2024-04-26 09:41:51 +10:00
embedded base58: Re-name crate to base58ck 2024-03-19 09:00:46 +11:00
examples fix(typo): examples/ecdsa-psbt.rs 2024-05-01 17:56:11 -03:00
src Improve array macros 2024-05-14 10:42:40 +10:00
tests chore: format and standardize all markdowns files 2024-04-27 06:29:23 -03:00
CHANGELOG.md bitcoin: Bump version to 0.32.0-rc1 2024-04-05 08:10:08 +11:00
Cargo.toml bitcoin: Upgrade base64 dependency 2024-04-26 09:31:33 +10:00
build.rs Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00