crates/nornir-testmatrix/tests/fixtures/required_features_edge/Cargo.toml
# Test fixture: a test target that cargo SKIPS on a plain `cargo test -p engine`
# and BUILDS on a plain `cargo test --workspace` — the fourth gate source.
#
# `engine`'s `gpu_probe` target declares `required-features = ["gpu"]` and `gpu`
# is NOT in `engine`'s `default`. On its own the target is skipped in silence.
# But `driver` names `engine` with `features = ["gpu"]` on an UNCONDITIONAL
# dependency edge, and cargo unifies features across a workspace build — so the
# target really does compile and run under `cargo test --workspace`.
#
# That is `GateVerdict::ViaEdge`: a PASS, because calling it silenced would be a
# false red, and its own verdict, because nothing DECLARES the route. Delete
# `features = ["gpu"]` from driver/Cargo.toml and the same target goes dark with
# no diagnostic anywhere.
#
# Standalone `[workspace]` + zero dependencies so the parent never builds it and
# `cargo metadata --no-deps` resolves offline.
[workspace]
members = ["engine", "driver"]
resolver = "2"