rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding a5f904559d
primitives: Make hex optional
Make the `hex` dependency optional. This means not implementing
`Display` for some types if `hex` is not enabled and only implementing
`Debug`.

Also without `hex` enabled:

- We loose the ability to parse an `OutPoint` from string because we
  can no longer parse `Txid`.

- We loose the hex formatting of witness elements.

Note also that `primitives` builds with the `serde` feature even if
`hex?/serde` is excluded from the `serde` feature. I found this
surprising.
2025-04-11 10:55:34 +10:00
..
contrib Remove rust-ordered dependency 2025-02-18 13:36:07 +11:00
embedded chore: remove unused cortex-m dependency from embedded Cargo.toml files in bitcoin and hashes modules. 2025-04-05 18:25:41 +08:00
examples amount: add from_sat_i32 and from_sat_u32 methods for small constants 2025-03-18 19:27:53 +00:00
src Merge rust-bitcoin/rust-bitcoin#4317: add copy trait to address and AddressInner 2025-04-10 18:57:38 +00:00
tests Implement Copy for Address and AddressInner 2025-04-09 12:25:43 +05:30
CHANGELOG.md Merge rust-bitcoin/rust-bitcoin#4292: chore: fix grammatical errors 2025-03-30 15:19:49 +00:00
Cargo.toml primitives: Make hex optional 2025-04-11 10:55:34 +10:00