rust-bitcoin-unsafe-fast/internals/src
Tobin C. Harding 7fa53440dc
Move serde_round_trip macro to internals
We currently duplicate the serde_round_trip macro in `units` and
`bitcoin`, this is unnecessary since it is a private test macro we can
just throw it in `internals`.

While we are at it lets improve the macro by testing a binary encoding
also, elect to use the `bincode` crate because we already have it in
our dependency graph.

Add `test-serde` feature to `internals` to feature gate the macro and
its usage (preventing the transient dependency on `bincode` and
`serde_json`).
2024-07-06 14:51:30 +10:00
..
error Link to std::error::Error 2024-06-14 14:00:58 +10:00
array_vec.rs internals: Implement Default for ArrayVec 2024-02-28 13:19:43 +11:00
const_tools.rs Add tools that help with making code `const` 2023-12-15 01:37:33 +01:00
error.rs Removed //! spare line at end of headers 2024-05-22 12:23:57 +01:00
lib.rs Move serde_round_trip macro to internals 2024-07-06 14:51:30 +10:00
macros.rs Merge rust-bitcoin/rust-bitcoin#2585: Improve array macros 2024-05-28 16:25:59 +00:00
parse.rs Use full path in all macro usage of Result 2024-01-18 19:11:01 +01:00
serde.rs Move serde_round_trip macro to internals 2024-07-06 14:51:30 +10:00