git grep TODO git grep FIXME # check for unused deps cargo udeps # check for unused deps cargo about init cargo about generate about.hbs > license.html # make sure all dep licences are ok # check build times cargo build --release --timings cargo clean cargo build --release --timings --all-targets --all-features # codespell -L mut,crate src tests -i 3 -w cargo rustdoc --open update dependencies cargo check cargo build cargo build --release git clean -dffx cargo check --no-default-features --features ci-autoclean git clean -dffx cargo test git clean -dffx cargo test --release cargo audit cargo clippy --all-targets --all-features cargo clippy --no-default-features --features ci-autoclean cargo clippy --all-targets --features default cargo fmt --all # git log `git tag | tail -n1`..HEAD make sure changelog is up to date ^cmd make sure readme is up to date ( check --help extract in readme!) make sure CI catches up and everything is green update version / Cargo.toml Cargo.lock CHANGELOG.md write release notes cargo publish --dry-run cargo publish post release: add git tag # git tag 1.2.3 HEAD add hash of tag to changelog make sure tag is pushed! // git push origin HEAD --tags re-add changelog git section