From 3cccb2058d9d6120c780769a0fc8133d258bd467 Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Sat, 22 Aug 2026 16:46:53 +0200 Subject: Improve check recipe Use new cargo build warnings setting. Requires Rust 1.97. See . --- CHANGELOG.md | 1 + 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 diff --git a/justfile b/justfile index 31d3a8b..ab47566 100644 --- a/justfile +++ b/justfile @@ -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. -- cgit v1.3.1