Open ydirson opened 8 months ago
When a target-specific dependency is used, and it pulls an outdated crate, cargo outdated misses it.
cargo outdated
eg the following currently pulls syn 1.x:
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):
cargo tree -d --target=all
... 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 ...
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
: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):