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