pub trait InheritedVersionChecker: Send + Sync {
// Required method
fn has_inherited_version(&self, manifest_path: &Path) -> Result<bool>;
// Provided method
fn find_packages_with_inherited_versions(
&self,
packages: &[PackageInfo],
) -> Result<Vec<String>> { ... }
}Expand description
Checks whether packages use inherited workspace versions.
Required Methods§
Provided Methods§
Sourcefn find_packages_with_inherited_versions(
&self,
packages: &[PackageInfo],
) -> Result<Vec<String>>
fn find_packages_with_inherited_versions( &self, packages: &[PackageInfo], ) -> Result<Vec<String>>
§Errors
Returns an error if any manifest cannot be read.