Currently we use a std numeric type for the output of various `Div` implementations while other ops use `NumOpResult`. This makes it difficult to chain operations. Throughout the crate use `Output = NumOpResult<Foo>` when implementing `Div`. Later we want to enable users differentiating between an overflow and a div-by-zero. Explicitly do not implement that yet, done separately to assist review. |
||
---|---|---|
.. | ||
contrib | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml | ||
README.md |
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.