Ignores outdated crates pulled by other targets
ydirson opened this issue · 0 comments
ydirson commented
When a target-specific dependency is used, and it pulls an outdated crate, cargo outdated
misses it.
eg the following currently pulls syn 1.x
:
[target.'cfg(freebsd)'.dependencies]
sysctl = "0.5.0"
When it gets pulled in addition to an uptodate one, we can see it with cargo tree -d --target=all
(but when not a dup they are harder to spot):
...
syn v1.0.109
└── enum-as-inner v0.5.1 (proc-macro)
└── sysctl v0.5.4 (*)
syn v2.0.38
├── async-stream-impl v0.3.5 (proc-macro)
│ └── async-stream v0.3.5
...