rust-bitcoin-unsafe-fast/api
Andrew Poelstra 8d5399f881
Merge rust-bitcoin/rust-bitcoin#2765: Flesh out hex unit parsing API
cf3e1eb198 api: Run just check-api (Tobin C. Harding)
98bf213c52 bitcoin: Remove error module (Tobin C. Harding)
a5b93cb159 Flesh out hex unit parsing API (Tobin C. Harding)

Pull request description:

  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.

ACKs for top commit:
  apoelstra:
    ACK cf3e1eb198

Tree-SHA512: 1778108d4364e290e8956cfea6f23fcdd82c835844d034a00b4cf5cab5552e3efbe853dfbf8a3e0a4bd53a8e3da9d6f7c7408d332d18cd7090aec16fc1f02fe7
2024-05-25 13:32:52 +00:00
..
base58 Add a script to check the public API 2024-05-18 09:54:52 +10:00
bitcoin Merge rust-bitcoin/rust-bitcoin#2765: Flesh out hex unit parsing API 2024-05-25 13:32:52 +00:00
hashes Add a script to check the public API 2024-05-18 09:54:52 +10:00
io Add a script to check the public API 2024-05-18 09:54:52 +10:00
units api: Run just check-api 2024-05-24 14:48:48 +10:00
README.md Add a script to check the public API 2024-05-18 09:54:52 +10:00

README.md

API text files

Each file here lists the public API when built with some set of features enabled. To create these files run ../contrib/check-for-api-changes.sh:

Requires cargo-public-api, install with:

cargo +stable install cargo-public-api --locked

ref: https://github.com/enselic/cargo-public-api