rust-bitcoin-unsafe-fast/bitcoin
Martin Habovstiak bb2c7ec790 Introduce `hex_lit` crate
So far we deserialized hex into `Vec<u8>` at run time. This was mainly
in tests where it had negligible performance cost. However moving the
computation to compile time has a few benefits: it allows proving the
length of the decoded bytes and identifies potential typos before the
code goes through LLVM and other compilation machinery which makes
feedback faster.

This change uses the `hex_lit` crate to move computation to compile
time. It is implemented as `const` declarative macro which doesn't blow
up compilation time.
2023-02-18 12:03:08 +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 Remove FromHex for all types except Vec and array 2023-02-01 08:26:46 +11:00
fuzz Add `Weight` and `FeeRate` newtypes 2023-02-08 23:17:30 +01:00
src Introduce `hex_lit` crate 2023-02-18 12:03:08 +01:00
tests Move hex data to tests/data 2023-02-10 11:53:02 +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