pub manifest: ManifestPath,
/// Targets provided by the crate (lib, bin, example, test, ...)
pub targets: Vec<Target>,
- /// Is this package a member of the current workspace
- pub is_member: bool,
+ /// Does this package come from the local filesystem (and is editable)?
+ pub is_local: bool,
/// List of packages this package depends on
pub dependencies: Vec<PackageDependency>,
/// Rust edition for this package
});
// We treat packages without source as "local" packages. That includes all members of
// the current workspace, as well as any path dependency outside the workspace.
- let is_member = meta_pkg.source.is_none();
+ let is_local = meta_pkg.source.is_none();
let pkg = packages.alloc(PackageData {
id: id.repr.clone(),
version: version.clone(),
manifest: AbsPathBuf::assert(PathBuf::from(&manifest_path)).try_into().unwrap(),
targets: Vec::new(),
- is_member,
+ is_local,
edition,
dependencies: Vec::new(),
features: meta_pkg.features.clone().into_iter().collect(),