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.
I often find myself seeing stuff in the build output (or output from cargo update) that I'm thinking: "That shouldn't be there!".
I then spend quite some time digging through the output of cargo tree to see who pulls that dependency in. Grepping does work with something like cargo tree | grep -B20 winapi, but it might be nice to have a blame mode which just shows the dep paths leading to a given leaf dependency.
The text was updated successfully, but these errors were encountered:
On Thu, Sep 5, 2019 at 5:37 AM Naja Melan ***@***.***> wrote:
I often find myself seeing stuff in the build output (or output from cargo
update) that I'm thinking: "That shouldn't be there!".
I then spend quite some time digging through the output of cargo tree to
see who pulls that dependency in. Grepping does work with something like grep
-B20 winapi, but it might be nice to have a blame mode which just shows
the dep paths leading to a given leaf dependency.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#77?email_source=notifications&email_token=AALDMUI6TCI4DCWAOYQX5ILQIDHN7A5CNFSM4IT3UWJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJPKWQA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALDMUIRJPVJK72CLDTTLFDQIDHN7ANCNFSM4IT3UWJQ>
.
ok, thanks for pointing that out. I didn't figure that from the usage message.
The results I got where somewhat inconsistent:
$ cargo tree -p winapi -i
error: There are multiple `winapi` packages in your project, and the specification `winapi` is ambiguous.
Please re-run this command with `-p <spec>` where `<spec>` is one of the following:
winapi:0.2.8
winapi:0.3.8
$ cargo tree -p winapi:0.2.8 -i
error: package winapi v0.2.8 not found
$ cargo tree -p winapi:0.3.8 -i
winapi v0.3.8
[dev-dependencies]
└── time v0.1.42
└── chrono v0.4.9
└── flexi_logger v0.11.5
[dev-dependencies]
└── ws_stream_wasm v0.2.1 (/data/doc/code/ws_stream_wasm)
Showing all hits at once rather than returning an error would be more convenient I think.
I often find myself seeing stuff in the build output (or output from
cargo update
) that I'm thinking: "That shouldn't be there!".I then spend quite some time digging through the output of cargo tree to see who pulls that dependency in. Grepping does work with something like
cargo tree | grep -B20 winapi
, but it might be nice to have a blame mode which just shows the dep paths leading to a given leaf dependency.The text was updated successfully, but these errors were encountered: