rust-bitcoin-unsafe-fast/src
Tobin C. Harding 57dd6739c3 Do not print error when displaying for std builds
We implement `source` for all our error types. This means that we should
not display the source error explicitly because users can call `source`
to get the source error.

However, `std::Error::source()` is only available for "std" builds, so
that we do not loose the error source information in "no-std" builds add
a macro that conditionally adds the source onto the error message.
2022-05-27 08:38:52 +10:00
..
blockdata Do not print error when displaying for std builds 2022-05-27 08:38:52 +10:00
consensus Do not print error when displaying for std builds 2022-05-27 08:38:52 +10:00
network Do not print error when displaying for std builds 2022-05-27 08:38:52 +10:00
util Do not print error when displaying for std builds 2022-05-27 08:38:52 +10:00
hash_types.rs Enable edition 2018 2022-05-11 10:16:48 +10:00
internal_macros.rs Do not print error when displaying for std builds 2022-05-27 08:38:52 +10:00
lib.rs Enable edition 2018 2022-05-11 10:16:48 +10:00
policy.rs Flatten the policy module 2022-03-09 10:20:18 +11:00
serde_utils.rs Enable edition 2018 2022-05-11 10:16:48 +10:00
test_macros.rs Refactor whitespace 2022-03-14 13:51:50 +11:00