jplatte / cargo-depgraph

Creates graphviz dependency graphs for Rust projects that use Cargo
GNU General Public License v3.0
151 stars 8 forks source link

crate from resolve not found in packages => dependencies #10

Closed XAMPPRocky closed 2 years ago

XAMPPRocky commented 2 years ago

Hello, I wanted to try this tool out on https://github.com/googleforgames/quilkin and running gives the following messages.

cargo depgraph --all-deps | dot -Tpng > graph.png
crate from resolve not found in packages => dependencies, this should never happen!
crate from resolve not found in packages => dependencies, this should never happen!
crate from resolve not found in packages => dependencies, this should never happen!
jplatte commented 2 years ago

I've seen this as well a few times, I suspect it's a bug in cargo metadata. resolve and packages => dependencies refer to the corresponding parts of its JSON output, if you want to look at what might be wrong.

jplatte commented 2 years ago

Fixed in 4ad77d17b56ea25beb54d9ff26406b683bd9fed6 / v1.2.4 🥳