EmbarkStudios / krates

📦 Creates graphs of crates from cargo metadata 🦀
Apache License 2.0
58 stars 18 forks source link

internal error: entered unreachable code: unable to locate <feature> for crate #79

Closed chris13524 closed 7 months ago

chris13524 commented 7 months ago

Describe the bug When running cargo deny check in my setup I get this error:

internal error: entered unreachable code: unable to locate analytics for crate

Seems like it has something to do with enabling a feature (in this case analytics) on a dependency which takes advantage of dependency renaming

To Reproduce Steps to reproduce the behavior:

  1. Clone this repo: https://github.com/chris13524/cargo-deny-unreachable-code
  2. Run cargo deny check

Expected behavior Checks pass and code does not crash

Screenshots N/A

Device: