EmbarkStudios / krates

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

Map dependencies to crates #90

Closed Jake-Shadle closed 4 months ago

Jake-Shadle commented 4 months ago

This adds Krates::resolved_dependency which allows the user to retrieve the Krate that resolved to the index of a Dependency, if it was included in the graph.

This also makes cargo_metadata an optional dependency, for now it is mostly the exact same as cargo_metadata, but might diverge more as time goes on.

Resolves: #88