Skip to content

Commit

Permalink
Merge #192: Remove the check api infrastructure
Browse files Browse the repository at this point in the history
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
  • Loading branch information
apoelstra committed Aug 6, 2024
2 parents 49ddb1c + 0fc2533 commit b9eb76f
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 3,731 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,18 +140,3 @@ jobs:
run: cargo install cross --locked
- name: run cross test
run: cross test --target s390x-unknown-linux-gnu

API:
name: Check for changes to the public API
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout Crate
uses: actions/checkout@v3
- name: Checkout Toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Install cargo-public-api
run: cargo install --locked cargo-public-api
- name: Running API checker script
run: ./contrib/check-for-api-changes.sh
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,3 @@ Alternatively add symlinks in your `.git/hooks` directory to any of the githooks

We use a custom Rust compiler configuration conditional to guard the benchmark code. To run the
benchmarks use: `RUSTFLAGS='--cfg=bench' cargo +nightly bench`.


## API changes

All PRs that change the public API of `rust-bech32` must include a patch to the
`api/` text files. For PRs that include API changes, add a separate patch to the PR
that is the diff created by running `contrib/check-for-api-changes.sh`.
11 changes: 0 additions & 11 deletions api/README.md

This file was deleted.

1,278 changes: 0 additions & 1,278 deletions api/all-features.txt

This file was deleted.

1,220 changes: 0 additions & 1,220 deletions api/alloc-only.txt

This file was deleted.

1,133 changes: 0 additions & 1,133 deletions api/no-features.txt

This file was deleted.

63 changes: 0 additions & 63 deletions contrib/check-for-api-changes.sh

This file was deleted.

4 changes: 0 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ clippy:
# run `cargo clippy --fix` on everything
clippy-fix:
cargo clippy --locked --offline --workspace --all-targets --fix

# Check for API changes.
check-api:
contrib/check-for-api-changes.sh

0 comments on commit b9eb76f

Please sign in to comment.