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

Fails to find outdated workspace dependencies

Open e00E opened this issue 2 years ago • 1 comments

./crates/foo/src/lib.rs

./crates/foo/Cargo.toml
[package]
name = "foo"
version = "0.1.0"
edition = "2021"

[dependencies]
slab = { workspace = true }

./Cargo.toml
[workspace]
members = ["crates/*"]

[workspace.dependencies]
slab = "0.3"

The current version of slab is 0.4. cargo outdated is mistaken that all dependencies are up to date. If I move slab from a workspace dependency to a traditional dependency, then cargo outdated does find it as outdated.

e00E avatar Jul 06 '23 11:07 e00E

I'm seeing the same thing on all of my workspace projects. I have, for example, reqwest pinned at ~0.11 in my Cargo.toml under [workspace.dependencies] in the root, and absolutely no combination of flags I've tried identifies that its out of date.

willbuckner avatar May 18 '24 21:05 willbuckner