EmbarkStudios / krates

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

Fixup Krates API #52

Closed Jake-Shadle closed 1 year ago

Jake-Shadle commented 1 year ago

This makes a change to the Krates::search_matches and Krates::search_by_name so that the name being searched doesn't have its lifetime paired with the graph's to avoid annoying usage. Unfortunately this means a heap copy, but this is only used in the case the name is not already a heap string.

Also updates cfg-expr 0.11 -> 0.12