cargo-outdated
cargo-outdated copied to clipboard
Fails to find outdated workspace dependencies
./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.
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.