Skip to content

Commit b9eb76f

Browse files
committed
Merge rust-bitcoin#192: Remove the check api infrastructure
0fc2533 Remove the check api infrastructure (Tobin C. Harding) Pull request description: Turns out the check api stuff did not perform as we had hoped, remove the script and all the output files. ACKs for top commit: apoelstra: ACK 0fc2533 clarkmoody: ACK 0fc2533 Tree-SHA512: f9a3ccc39e648b5b1c645afc5f5aab0a1bb521c0c2774165fc151b7f6230f6f0c3fc7ea884101f9b053a4604ca7ed0e7ce4c9b09024ffe97de83728ae95dd0ae
2 parents 49ddb1c + 0fc2533 commit b9eb76f

File tree

8 files changed

+0
-3731
lines changed

8 files changed

+0
-3731
lines changed

.github/workflows/rust.yml

-15
Original file line numberDiff line numberDiff line change
@@ -140,18 +140,3 @@ jobs:
140140
run: cargo install cross --locked
141141
- name: run cross test
142142
run: cross test --target s390x-unknown-linux-gnu
143-
144-
API:
145-
name: Check for changes to the public API
146-
runs-on: ubuntu-latest
147-
strategy:
148-
fail-fast: false
149-
steps:
150-
- name: Checkout Crate
151-
uses: actions/checkout@v3
152-
- name: Checkout Toolchain
153-
uses: dtolnay/rust-toolchain@nightly
154-
- name: Install cargo-public-api
155-
run: cargo install --locked cargo-public-api
156-
- name: Running API checker script
157-
run: ./contrib/check-for-api-changes.sh

README.md

-7
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,3 @@ Alternatively add symlinks in your `.git/hooks` directory to any of the githooks
3333

3434
We use a custom Rust compiler configuration conditional to guard the benchmark code. To run the
3535
benchmarks use: `RUSTFLAGS='--cfg=bench' cargo +nightly bench`.
36-
37-
38-
## API changes
39-
40-
All PRs that change the public API of `rust-bech32` must include a patch to the
41-
`api/` text files. For PRs that include API changes, add a separate patch to the PR
42-
that is the diff created by running `contrib/check-for-api-changes.sh`.

api/README.md

-11
This file was deleted.

api/all-features.txt

-1,278
This file was deleted.

api/alloc-only.txt

-1,220
This file was deleted.

api/no-features.txt

-1,133
This file was deleted.

contrib/check-for-api-changes.sh

-63
This file was deleted.

justfile

-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,3 @@ clippy:
3030
# run `cargo clippy --fix` on everything
3131
clippy-fix:
3232
cargo clippy --locked --offline --workspace --all-targets --fix
33-
34-
# Check for API changes.
35-
check-api:
36-
contrib/check-for-api-changes.sh

0 commit comments

Comments
 (0)