cargo update silently doesn't update tokio-threadpool without --precise #7671
Labels
A-dependency-resolution
Area: dependency resolution and the resolver
C-bug
Category: bug
Command-update
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Problem
I was trying to update tokio-threadpool in Firefox, and had a hard time with it, especially because
cargo update
would say absolutely nothing.Reduced Steps
cargo new foo
foo/Cargo.toml
to add:foo
directory and runcargo update
. This gives us the initial state forCargo.lock
.tokio-threadpool
andthread-executor
dependencies inCargo.toml
cargo update -p tokio-threadpool
Nothing happens, and the output is desperately empty.
Possible Solution(s)
cargo update -p tokio-threadpool --precise 0.1.17
(0.1.17 being the last version as of writing) works, and updates both tokio-threadpool and tokio-executor. I thinkcargo update -p tokio-threadpool
should work just as well.If not, then at least, cargo should say something about the fact that there is a newer version, but it can't be used because $reason, similar to what happens after upgrading both tokio-threadpool and tokio-executor, and trying to downgrade tokio-executor with
cargo update -p tokio-executor --precise 0.1.7
:The text was updated successfully, but these errors were encountered: