rust-bitcoin-unsafe-fast/units
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
..
contrib Add Arbitrary dependency 2024-08-23 15:39:20 -05:00
src units: Remove serde from amounts 2024-11-28 12:55:43 +11:00
tests units: Add integration test of API surface 2024-11-25 13:33:15 +11:00
CHANGELOG.md Bump version of bitcoin-units to 0.2.0 2024-09-25 10:58:31 +10:00
Cargo.toml Bump version of bitcoin-units to 0.2.0 2024-09-25 10:58:31 +10:00
README.md Bump MSRV to 1.63 2024-07-27 07:24:32 +02:00

README.md

Bitcoin Units

This crate provides basic Bitcoin numeric units such as Amount.

Minimum Supported Rust Version (MSRV)

This library should always compile with any combination of features on Rust 1.63.0.

Licensing

The code in this project is licensed under the Creative Commons CC0 1.0 Universal license. We use the SPDX license list and SPDX IDs.