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 \