bb2c7ec790
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. |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
fuzz | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml | ||
build.rs |