rust-bitcoin-unsafe-fast/internals/src
Erick Cestari 4eb3177fab Abstract out "debug-print hex fields" using WrapDebug
This commit introduces `WrapDebug` in `internals` and updates `Witness`
debug implementation to use it. The previous `DebugElements` struct has
been removed in favor of an ad-hoc closure inside `WrapDebug`, which
formats witness elements as a debug list of hex-encoded values.

By abstracting out the "debug-print hex fields" pattern, we reduce
code duplication and improve maintainability.
2025-02-20 10:56:12 -03:00
..
error Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
array_vec.rs 2024-12-22 automated rustfmt nightly 2024-12-22 01:21:54 +00:00
compact_size.rs Run the formatter 2024-10-10 10:39:53 +11:00
const_tools.rs Refactor Rust version checking 2024-08-19 15:21:01 +02:00
lib.rs Abstract out "debug-print hex fields" using WrapDebug 2025-02-20 10:56:12 -03:00
macros.rs Remove usage of impl_from_infallible in crates 2025-01-04 23:46:12 -06:00
parse.rs clippy: change accidental doccomments into correct comments 2024-09-30 12:30:57 +00:00
script.rs Re-write (and re-name) read_uint_iter 2024-09-09 06:31:39 +10:00
serde.rs Remove unnecessary lifetimes 2024-10-23 06:55:25 +11:00
wrap_debug.rs Abstract out "debug-print hex fields" using WrapDebug 2025-02-20 10:56:12 -03:00