[Feature]: Add --all-features and --all-targets to CI check
#736 aberto em 23 de fev. de 2026
Métricas do repositório
- Stars
- (675 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Problem
Currently, our CI pipeline runs cargo check using default features only. This creates a blind spot where feature-gated code (e.g., code residing behind #[cfg(feature = "approx")]) can compile locally for a developer but break silently in other configurations, or vice versa.
We recently identified that optional dependencies are not being consistently validated, leading to potential "bit rot" in non-default crate configurations.
Proposed Solution
We should update our GitHub Actions workflow (or relevant CI config) to ensure we are testing the full surface area of our crates. Specifically, we should run:
cargo check --workspace --all-targets --all-features