rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding 4865d60258
bitcoin: Improve the re-exports ... again
These re-exports are hard to get right. We (I) recently made an attempt
to make our stack of crates easier to navigate using the idea that
exporting a type from the crate it is defined in adds some additional
information without any loss of clarity. Note however that the module
must be re-exported from the "highest" place possible because we at
times add additional functionality as we move up the stack e.g.,
`bitcoin::merkle_tree` has logic in it that `primitives::merkle_tree`
does not. In order to future proof the codebase default to always using
the highest module up the stack even when that module adds no additional
code e.g., re-export `blockdata::fee_rate` as opposed to
`units::fee_rate` in the event that we later add logic to
`bitcoin::blockdata::fee_rate`.

This patch adds an additional re-export: `sequence` (previously missing).
2024-11-11 14:18:58 +11:00
..
contrib Remove the SliceIndex implementation from hash types 2024-10-02 10:18:45 +10:00
embedded Move opcodes to primitives 2024-07-09 15:26:33 +10:00
examples Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
src bitcoin: Improve the re-exports ... again 2024-11-11 14:18:58 +11:00
tests script: deprecate to_bytes 2024-11-01 07:09:53 +11:00
CHANGELOG.md bitcoin: Add some upgrade notes 2024-10-27 07:02:30 +11:00
Cargo.toml Bump hex-conservative to 0.3.0 2024-10-31 03:36:22 +00:00