rust-bitcoin-unsafe-fast/units
Tobin C. Harding 8e6784dd41
Introduce Amount::from_sat_unchecked
As we did for `SignedAmount` add a constructor to the `Amount` type that
does no checks on its argument.

(This is in preparation for enforcing the MAX_MONEY invariant.)

Use the `_unchecked` version in a single unit test. The rest of the unit
tests will be refactored later to minimise the size of this patch.
2024-12-30 06:36:00 +11:00
..
contrib Add Arbitrary dependency 2024-08-23 15:39:20 -05:00
src Introduce Amount::from_sat_unchecked 2024-12-30 06:36:00 +11:00
tests Merge rust-bitcoin/rust-bitcoin#3799: Automated nightly rustfmt (2024-12-22) 2024-12-24 21:58:27 +00:00
CHANGELOG.md bitcoin: Bump version to v0.33.0-alpha.0 2024-12-04 15:58:36 +11:00
Cargo.toml units: Move excluded lints to manifest 2024-12-18 08:25:12 +11: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.