You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.
In a workspace with a virtual manifest (one with [workspace], but not [package]), we get the following error message:
$ cargo tree
error: manifest path `<path>/Cargo.toml` is a virtual manifest, but this command requires running against an actual package in this workspace
I suspect it should be fairly straightforward to switch over to using https://crates.io/crates/cargo_metadata to get the set of dependencies and their relationships. Cargo-metadata is fully workspace-aware - we use it in cargo-edit for this purpose
The text was updated successfully, but these errors were encountered:
@sfackler Please re-open this. Cargo tree needs to support virtual manifests. It should iterate through all entries in the virtual manifest. Cargo.toml lists a list of subpackages and it should show the trees for all of them.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In a workspace with a virtual manifest (one with
[workspace]
, but not[package]
), we get the following error message:I suspect it should be fairly straightforward to switch over to using https://crates.io/crates/cargo_metadata to get the set of dependencies and their relationships. Cargo-metadata is fully workspace-aware - we use it in cargo-edit for this purpose
The text was updated successfully, but these errors were encountered: