Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignores outdated crates pulled by other targets #370

Open
ydirson opened this issue Oct 31, 2023 · 0 comments
Open

Ignores outdated crates pulled by other targets #370

ydirson opened this issue Oct 31, 2023 · 0 comments

Comments

@ydirson
Copy link

ydirson commented Oct 31, 2023

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
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant