From 7e2f04a78a4f6bd34df5169202528356d2355759 Mon Sep 17 00:00:00 2001 From: Jade Ellis Date: Sun, 20 Jul 2025 21:25:27 +0100 Subject: [PATCH] chore: Check all features in CI and docs --- .forgejo/workflows/rust-checks.yml | 2 ++ CONTRIBUTING.md | 6 +++--- engage.toml | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/rust-checks.yml b/.forgejo/workflows/rust-checks.yml index 105efd0f..0595c053 100644 --- a/.forgejo/workflows/rust-checks.yml +++ b/.forgejo/workflows/rust-checks.yml @@ -73,6 +73,7 @@ jobs: run: | cargo clippy \ --workspace \ + --all-features \ --locked \ --no-deps \ --profile test \ @@ -132,6 +133,7 @@ jobs: run: | cargo test \ --workspace \ + --all-features \ --locked \ --profile test \ --all-targets \ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 51609d5f..d3a75114 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,11 +65,11 @@ Tests, compilation, and linting can be run with standard Cargo commands: cargo test # Check compilation -cargo check --workspace +cargo check --workspace --all-features # Run lints -cargo clippy --workspace -# Auto-fix: cargo clippy --workspace --fix --allow-staged; +cargo clippy --workspace --all-features +# Auto-fix: cargo clippy --workspace --all-features --fix --allow-staged; # Format code (must use nightly) cargo +nightly fmt diff --git a/engage.toml b/engage.toml index 210bafd5..5048fde2 100644 --- a/engage.toml +++ b/engage.toml @@ -96,6 +96,7 @@ script = """ direnv exec . \ cargo clippy \ --workspace \ + --all-features \ --locked \ --profile test \ --color=always \