We would previously trigger workspace analysis if a Cargo.toml had any workspace entry even though we ultimately cared about workspace.members. This caused empty reports for files which used workspace only for configuration like e.g., entries created by cargo-dist.
With this patch we handle a workspace only if workspace.members is present. We also simplify the code since we do not need to inject anymore wheter a project "uses" workspaces (i.e., has workspace members).
We would previously trigger workspace analysis if a
Cargo.toml
had anyworkspace
entry even though we ultimately cared aboutworkspace.members
. This caused empty reports for files which usedworkspace
only for configuration like e.g., entries created bycargo-dist
.With this patch we handle a workspace only if
workspace.members
is present. We also simplify the code since we do not need to inject anymore wheter a project "uses" workspaces (i.e., has workspace members).Closes #22.