Add to `units::parse` the complete suit of hex unit parsing functions: - remove prefix - assert without prefix - parse with or without prefix - parse with prefix - parse without prefix - parse prefix unchecked Refactor `bitcoin` to use the exact function we need, removing code duplication. This is a breaking change to `units`, it does however keep the current re-exports from the public, now empty, `bitcoin::error` module. |
||
---|---|---|
.. | ||
contrib | ||
src | ||
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.56.1.
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.