We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d69bc1 commit fc0f0afCopy full SHA for fc0f0af
src/lib.rs
@@ -291,6 +291,9 @@ pub fn run(tool: Tool, matches: ArgMatches) -> Result<i32> {
291
if matches.get_flag("all-features") {
292
metadata_command.features(CargoOpt::AllFeatures);
293
}
294
+ if let Some(path) = matches.get_one::<String>("manifest-path") {
295
+ metadata_command.manifest_path(path);
296
+ }
297
let metadata = metadata_command.exec()?;
298
if metadata.workspace_members.is_empty() {
299
bail!("Unable to find workspace members");
0 commit comments