Cargo: Add `cargo lucifer` subcommand

Created on 14 Feb 2019  路  4Comments  路  Source: rust-lang/cargo

Add a new subcommand that brings light (get it?) to cargo's dependency resolving, answering questions like

  • Why was that dependency included?
  • Why was that feature on this dependency enabled?
  • Which other versions were considered and why was this one chosen?

Yes, I made this issue because I saw the last issue was number 6665. Feel free to close it as "bad joke".

A-dependency-resolution A-new-subcommand C-feature-request

Most helpful comment

This is how I map log levels:

  • trace I'm _deeeep_ in this module, give me lots of details
  • debug I'm a cargo dev, give me the general-sense detailed log for this module
  • info I'm a cargo user, looking some more info from the operations in this module

But actually, make this detail (or some of it) should be printed by cargo generate-lockfile -v.

All 4 comments

I dig the joke 馃槃

Could this use case be satisfied by documenting something along the lines of RUST_LOG=cargo::ops::resolve=info cargo generate-lockfile?

To propose a bikeshed here, I think it should be called cargo cult

@dwijnand Maybe env RUST_LOG=cargo::core::resolver=trace cargo generate-lockfile if it was more pretty :D

This is how I map log levels:

  • trace I'm _deeeep_ in this module, give me lots of details
  • debug I'm a cargo dev, give me the general-sense detailed log for this module
  • info I'm a cargo user, looking some more info from the operations in this module

But actually, make this detail (or some of it) should be printed by cargo generate-lockfile -v.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oblique picture oblique  路  3Comments

SimonSapin picture SimonSapin  路  3Comments

fprijate picture fprijate  路  3Comments

disconsented picture disconsented  路  3Comments

ehuss picture ehuss  路  3Comments