diff options
| author | Stefan Kreutz <mail@skreutz.com> | 2026-08-22 16:46:53 +0200 |
|---|---|---|
| committer | Stefan Kreutz <mail@skreutz.com> | 2026-08-22 16:46:53 +0200 |
| commit | 3cccb2058d9d6120c780769a0fc8133d258bd467 (patch) | |
| tree | 200bc8fcb669c529f2d0db9fba7ee598137e5e68 | |
| parent | 7e000316bdd9a7df222c81025d0ff7c099013f90 (diff) | |
| download | temp-postgres-3cccb2058d9d6120c780769a0fc8133d258bd467.tar.gz | |
Improve check recipe
Use new cargo build warnings setting. Requires Rust 1.97. See
<https://doc.rust-lang.org/cargo/reference/config.html#buildwarnings>.
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | justfile | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f979d8..9c0da1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep A Changelog](https://keepachangelog.com/en/1.1.0/) ### Changed * Updated Nix flake inputs +* Improved check recipe (requires Rust 1.97) ## [0.4.2] - 2026-07-07 @@ -13,6 +13,7 @@ format: find . -type f -name '*.nix' -print0 | xargs -0rn 1 nixfmt # Run all checks. +[env("CARGO_BUILD_WARNINGS", "deny")] check: @# Check format cargo fmt --all --check @@ -24,8 +25,8 @@ check: env RUST_LOG=warn taplo lint cargo clippy --workspace --all-targets --all-features -- --deny warnings @# Build - cargo build --workspace --all-targets --all-features - env RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features --no-deps --document-private-items + cargo build --workspace --all-targets --all-features --keep-going + cargo doc --all-features --no-deps --document-private-items --keep-going @# Test cargo test --workspace --all-targets --all-features @# Check dependencies for known security vulnerabilities, licenses, etc. |