rust-bitcoin-unsafe-fast/api
Andrew Poelstra 1741229526
Merge rust-bitcoin/rust-bitcoin#2808: Add an `AddressData` type
b5ef7db3c0 api: Run just check-api (Tobin C. Harding)
1b40550ce8 Add an AddressData type (Tobin C. Harding)

Pull request description:

  In the 0.32.0 release we removed the `address::Payload` struct because it was deemed an implementation detail. As a byproduct of doing so we made it impossible for users to match on an enum and get the address payload (or data).

  - Add a public `AddressData` enum that holds an address' encoded data.
  - Add a conversion function to `Address` that returns the data enum.

  This patch is additive and is expected to be backported and release as a `0.32` point release.

ACKs for top commit:
  apoelstra:
    ACK b5ef7db3c0 I still feel a little partial to calling the struct "DecodedAddress" and the method "decode"...but this is good, and I do not want to bikeshed

Tree-SHA512: d97836bb2d7fc0f6e9fbba2afb30eeefefc88e7105d4765a146dd444c8397dd4d1ef4fd3e3eb925589294d46bfc8a66d33797a05dbc2131923534364424c135c
2024-05-27 16:29:06 +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#2808: Add an `AddressData` type 2024-05-27 16:29:06 +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