https://pre-commit.com/ Automatically runs some checks before committing, so you don't have to wait for the CI to complain.
pip install pre-commit
pre-commit install
To skip the checks, use git commit --no-verify
.
https://github.com/enselic/cargo-public-api If you intentionally change the public API, you need to run:
UPDATE_EXPECT=1 cargo +stable test --workspace --features _internal_public_api public_api
IMPORTANT: make sure to run this with the latest stable toolchain have all the latest blanket impls included.
https://github.com/awslabs/cargo-check-external-types
cargo +nightly-2024-06-30 install --locked [email protected]