-
-
Notifications
You must be signed in to change notification settings - Fork 460
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
Add Cargo package manager #2662
Conversation
Great! if you need help or guidance, please let me know! |
This is weird, I have found that cargo.exe prints to STDERR instead of to STDOUT, effectively preventing the output from showing. I am going to fix this |
And this is why that happens: rust-lang/cargo#1473 |
Operations are working now. Do you think it would be possible to not show libraries on the Discover packages page? I mean, show only binary-containing packages? |
Thanks! I've added functionality to check each search result against the registry api to see if it has any binaries listed, which isn't perfect since some libraries include test binaries, but should handle most cases. Unfortunately it is quite slow, to comply with the one request per second rate limit. |
And do you think it would be possible to fetch this data directly from the https://github.com/rust-lang/crates.io-index ? In my understanding, since you can obtain the package's manifest, you should be able to parse it, right? |
Unfortunately the index files at that link don't include the |
And if we parse the crates.io website? I have found that on binary packages, the install command is See here:
|
… using their api" This reverts commit 0a5761b.
Any user suspected of farming GitHub activity with crypto purposes will get banned. Submitting broken code wastes the contributors' time, who have to spend their free time reviewing, fixing, and testing code that does not even compile breaks other features, or does not introduce any useful changes. Thank you for your understanding.
This PR adds basic support for Cargo, the Rust package manager.
Remaining blockers keeping this PR as a draft: