pub fn cargo_workspace_root(path: &Path) -> Option<PathBuf>
Resolve Cargo’s workspace root while sharing the metadata query used for source-target membership checks.