rust-bitcoin-unsafe-fast/units/src
Tobin C. Harding 36ef4a62cf
units: Improve re-exports
Make an attempt to improve the ergonomics and docs clarity of the
`units` crate.

- Don't inline error type re-exports, this keeps them up in the
"Re-exports" section and saves cluttering the other inlined docs.

- Re-export and inline the docs for `FeeRate` and `Weight` same as we do
for `Amount`. This makes the "Structs" section of the docs nice except
for the exclusion of the locktime types (which cannot be helped).
2024-04-03 11:39:56 +11:00
..
locktime relative locktime: add consensus encode/decode functions 2024-03-21 22:10:13 +00:00
amount.rs 2024-03-31 automated rustfmt nightly 2024-03-31 01:03:18 +00:00
fee_rate.rs Move unit types to units 2024-03-12 11:59:39 +11:00
lib.rs units: Improve re-exports 2024-04-03 11:39:56 +11:00
parse.rs units: Introduce public hex_u128 function 2024-04-03 07:09:46 +11:00
test_macros.rs fix: Manually implement serde traits 2024-03-20 11:33:14 +11:00
weight.rs Move unit types to units 2024-03-12 11:59:39 +11:00