rust-bitcoin-unsafe-fast/internals
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
src Improve array macros 2024-05-14 10:42:40 +10:00
CHANGELOG.md internals: Bump version to 0.3.0 2024-03-27 09:44:30 +11:00
Cargo.toml internals: Bump version to 0.3.0 2024-03-27 09:44:30 +11:00
README.md chore: format and standardize all markdowns files 2024-04-27 06:29:23 -03:00
build.rs Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00

README.md

Rust Bitcoin Internals

This crate is only meant to be used internally by crates in the rust-bitcoin ecosystem.

This crate will never be stabilized, depend on it at your own risk.