Skip to content

Commit 0fc2533

Browse files
committed
Remove the check api infrastructure
Turns out the check api stuff did not perform as we had hoped, remove the script and all the output files.
1 parent 49ddb1c commit 0fc2533

File tree

8 files changed

+0
-3731
lines changed

8 files changed

+0
-3731
lines changed

.github/workflows/rust.yml

Lines changed: 0 additions & 15 deletions
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

Lines changed: 0 additions & 7 deletions
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

Lines changed: 0 additions & 11 deletions
This file was deleted.

api/all-features.txt

Lines changed: 0 additions & 1278 deletions
This file was deleted.

api/alloc-only.txt

Lines changed: 0 additions & 1220 deletions
This file was deleted.

api/no-features.txt

Lines changed: 0 additions & 1133 deletions
This file was deleted.

contrib/check-for-api-changes.sh

Lines changed: 0 additions & 63 deletions
This file was deleted.

justfile

Lines changed: 0 additions & 4 deletions
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)