rust-bitcoin-unsafe-fast/internals/src
merge-script 3b057ad2f5
Merge rust-bitcoin/rust-bitcoin#3150: Create a macro that implements `to_hex` for types that have `core::fmt::LowerHex` implemented
30bb93c676 Implement impl_to_hex_from_lower_hex macro for types that implement fmt::LowerHex (Shing Him Ng)

Pull request description:

  Created a macro that implements `to_hex` for types that currently have `core::fmt::LowerHex` and called it on types that have `core::fmt::LowerHex` implemented. I put the macro in the `internals` crate since there are types across the whole project that can potentially use this.

  Resolves #2869

ACKs for top commit:
  Kixunil:
    ACK 30bb93c676
  apoelstra:
    ACK 30bb93c676 successfully ran local tests

Tree-SHA512: d3ebc7b5c0c23f1a8f8eef4379c1b475e8c23845e18ce514cb1e98eb63fc4f215e6bc4425f97c7303053df13374ef931ae9d9373badd7ca1975a55b0d00d0e40
2024-09-02 21:18:44 +00:00
..
error Link to std::error::Error 2024-06-14 14:00:58 +10:00
array_vec.rs Add unit test for ArrayVec::extend_from_slice 2024-08-30 09:14:43 +10:00
const_tools.rs Refactor Rust version checking 2024-08-19 15:21:01 +02:00
error.rs Removed //! spare line at end of headers 2024-05-22 12:23:57 +01:00
lib.rs Improve const_assert 2024-08-30 06:33:31 +10:00
macros.rs Merge rust-bitcoin/rust-bitcoin#3150: Create a macro that implements `to_hex` for types that have `core::fmt::LowerHex` implemented 2024-09-02 21:18:44 +00:00
parse.rs Use full path in all macro usage of Result 2024-01-18 19:11:01 +01:00
serde.rs Change `T::from_str(s)` to `s.parse::<T>()` 2024-08-27 17:31:00 +01:00