cargo-msrv icon indicating copy to clipboard operation
cargo-msrv copied to clipboard

Defer fetching of rust-releases index until it's required for a cmd

Open foresterre opened this issue 3 years ago • 1 comments

e.g. if we now run: cargo msrv list we will fetch the rust-releases index, while this is unnecessary for the list sub command:

    Finished dev [unoptimized + debuginfo] target(s) in 0.19s
     Running `target\debug\cargo-msrv.exe list`
Fetching index
... etc.

foresterre avatar Nov 03 '21 17:11 foresterre

Since https://github.com/foresterre/cargo-msrv/pull/345 we now only fetch the index for commands where we need it; it's however not yet implemented lazilly.

foresterre avatar Apr 08 '22 23:04 foresterre