Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph request : Cargo's crates #33

Closed
AntoineSebert opened this issue Nov 8, 2019 · 4 comments
Closed

Graph request : Cargo's crates #33

AntoineSebert opened this issue Nov 8, 2019 · 4 comments

Comments

@AntoineSebert
Copy link

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
Copy link
Owner

anvaka commented Nov 10, 2019

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

@brandly
Copy link

brandly commented Feb 18, 2020

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
Copy link

brandly commented Feb 23, 2020

@AntoineSebert
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants