`workspace.default-members` key is missing from output
ZhaoXiangXML opened this issue · comments
XiaoYangShawn commented
According to the doc of cargo build
:
The default members of a workspace can be set explicitly with the
workspace.default-members
key in the root manifest.
However there's no such field in the output of cargo metadata
.
Is there a workaround to this other than parsing the toml file?
Oli Scherer commented
Is there a workaround to this other than parsing the toml file?
creating a PR to this crate that adds it? 😆, unfortunately there's no workaround, no, sorry.
XiaoYangShawn commented
Well, thanks anyway
XiaoYangShawn commented
Maybe I can simply ignore it for now, I don't really need this field
Rain commented
See rust-lang/cargo#8033 — this has shipped in Rust 1.71.