rust-bitcoin-unsafe-fast/api
merge-script 297f9b5867
Merge rust-bitcoin/rust-bitcoin#3740: Add `Weight::to_kwu_ceil`
815330dad2 Clean up weight unit tests (Tobin C. Harding)
3f4365ee0c api: Run just check-api (Tobin C. Harding)
75594c7299 Add Weight::to_kwu_ceil (Tobin C. Harding)

Pull request description:

  It is not immediately obvious why we have floor and ceil versions of `to_vbytes` but not for `to_kwu`.

  Add a conversion function to get weight by kilo weight units rounding up.

  And then clean up the `weight` unit tests.

ACKs for top commit:
  apoelstra:
    ACK 815330dad2d2026ecf11c998dd560217c8d05d52; successfully ran local tests

Tree-SHA512: 8ba6c255fb9a3bc4a3dd485d6875663976870805a639b0aa309727fd211460029d05154351522d2b753afd478df1187abd92b212512b140c1ddb24b34b7e2bc0
2024-12-16 18:54:38 +00:00
..
hashes Add api text files 2024-12-06 15:20:52 +11:00
io Add api text files 2024-12-06 15:20:52 +11:00
primitives api: Run just check-api 2024-12-12 16:28:49 +11:00
units Merge rust-bitcoin/rust-bitcoin#3740: Add `Weight::to_kwu_ceil` 2024-12-16 18:54:38 +00:00
README.md Add api text files 2024-12-06 15:20:52 +11: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