* Add --all-features per issue #894 * Fix formatting. --------- Co-authored-by: Rob Jellinghaus <rjelling@microsoft.com>
This commit is contained in:
Родитель
2701804770
Коммит
03a561ac9c
|
@ -64,10 +64,12 @@ public class RustCliDetector : FileComponentDetector, IDefaultOffComponentDetect
|
|||
return;
|
||||
}
|
||||
|
||||
// Use --all-features to ensure that even optional feature dependencies are detected.
|
||||
var cliResult = await this.cliService.ExecuteCommandAsync(
|
||||
"cargo",
|
||||
null,
|
||||
"metadata",
|
||||
"--all-features",
|
||||
"--manifest-path",
|
||||
componentStream.Location,
|
||||
"--format-version=1",
|
||||
|
|
Загрузка…
Ссылка в новой задаче