rust-bitcoin-unsafe-fast/units/src
Tobin C. Harding 77085a1fa1
units: Remove serde from amounts
The `Amount` and `SignedAmount` were not supposed to implement `serde`
traits by design because doing so implicitly uses sats. We provide two
modules `as_sat` and `as_btc` to allow users to explicitly serialize in
their preferred format.

In commit: `d57ec019d5 Use Amount type for TxOut value field` derives
were added for `serde` and we did not notice it during review.
2024-11-28 12:55:43 +11:00
..
amount units: Remove serde from amounts 2024-11-28 12:55:43 +11:00
locktime Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
block.rs Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
fee_rate.rs Mark functions `const` 2024-11-15 15:58:52 +00:00
lib.rs Merge rust-bitcoin/rust-bitcoin#3539: Improve the `amount` module 2024-11-04 23:32:41 +00:00
parse.rs Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
weight.rs 2024-11-17 automated rustfmt nightly 2024-11-17 01:23:55 +00:00