anvaka / pm

package managers visualization
https://anvaka.github.io/pm/
MIT License
1.57k stars 135 forks source link

Graph request : Cargo's crates #33

Closed AntoineSebert closed 4 years ago

AntoineSebert commented 4 years ago

Rust is a growing language with a certain potential, whose build tool & package manager is Cargo. The official package registry is https://crates.io/.

anvaka commented 4 years ago

thank you for the suggestion. I'll take a look

brandly commented 4 years ago

looks like the Crates API will let you fetch 100 packages at a time: https://crates.io/api/v1/crates?page=1&per_page=100&sort=alpha

the summary page says there are 36k crates: https://crates.io/api/v1/summary

requesting an individual crate gives a list of versions... https://crates.io/api/v1/crates/access_log_parser

which includes a link to that version's dependencies https://crates.io/api/v1/crates/access_log_parser/0.4.0/dependencies

brandly commented 4 years ago

@AntoineSebert crates are available now!

AntoineSebert commented 4 years ago

It's beautiful ! Thanks for your awesome work, and have a nice day :)