pub trait PackageExt {
// Required methods
fn each_feature(&self) -> EachFeature<'_> ⓘ;
fn root_directory(&self) -> &Utf8Path;
}
Expand description
Extension methods for cargo_metadata::Package
.
Required Methods§
Sourcefn each_feature(&self) -> EachFeature<'_> ⓘ
fn each_feature(&self) -> EachFeature<'_> ⓘ
Returns the iterator over each feature options for the package.
Sourcefn root_directory(&self) -> &Utf8Path
fn root_directory(&self) -> &Utf8Path
Returns the package root directory.