Merge rust-bitcoin/rust-bitcoin#2819: docs: Add more info to the update api files section

0ae5be3e42 docs: Add more info to the update api files section (Tobin C. Harding)

Pull request description:

  Done to try to further help new contributors and save maintainer time.

  Add an example of using `just check-api` and an example `git` command for devs to create the api patch now required for all changes to the public API.

ACKs for top commit:
  apoelstra:
    ACK 0ae5be3e42

Tree-SHA512: 042dad94c1887fcfad535b1eb51cb38a450f3928742d0887c8470888ba53cf79687b65cf7040bdcbe4ce4d49a843f66f198139c22d4f3c4d2689b94b946e6929
This commit is contained in:
Andrew Poelstra 2024-06-01 14:24:33 +00:00
commit 6cfdbc978a
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 7 additions and 0 deletions

View File

@ -200,6 +200,13 @@ All PRs that change the public API of `rust-bitcoin` must include a patch to
the `api/` text files. This should be a separate, final patch to the PR
that is the diff created by running `./contrib/check-for-api-changes.sh`.
Or use `just`:
```bash
just check-api
git commit -a -m 'api: Run just check-api'
```
### Policy
We have various `rust-bitcoin` specific coding styles and conventions that are