You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the git-based crates.io registry is outdated or missing, cargo deny fails to check for yanked crates, with a mediocre error message:
warning[index-failure]: unable to check for yanked crates
┌─ /home/jplatte/code/ruma/.deny.toml:1:1
│
1 │ # https://embarkstudios.github.io/cargo-deny/checks/cfg.html
│ ^ lint level defined here
│
= failed to find crate in git index
To Reproduce
Delete ~/.cargo/registry
(May not be needed) Add the following to ~/.cargo/config.toml
[registries.crates-io]
protocol = "sparse"
Run cargo deny check in some project
Expected behavior
Yanked crates should still be checked ideally :)
The text was updated successfully, but these errors were encountered:
Describe the bug
When the git-based crates.io registry is outdated or missing,
cargo deny
fails to check for yanked crates, with a mediocre error message:To Reproduce
Delete
~/.cargo/registry
(May not be needed) Add the following to
~/.cargo/config.toml
Run
cargo deny check
in some projectExpected behavior
Yanked crates should still be checked ideally :)
The text was updated successfully, but these errors were encountered: