-
Notifications
You must be signed in to change notification settings - Fork 139
Vendor dependencies #2883
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
Vendor dependencies #2883
Conversation
Summary of ChangesHello @joshlf, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request implements a dependency vendoring strategy to enhance the project's reliability and build efficiency. By vendoring dependencies, the project gains better control over crate versions, ensuring compatibility with its MSRV, and mitigates performance issues associated with fetching from Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request vendors dependencies to address MSRV compatibility and to improve build performance by avoiding updates to the crates.io index. The approach taken is to use .cargo/config.toml files to redirect dependency resolution to local vendor directories, which is the standard method for vendoring in Cargo. The changes for the tools directory, including its own vendoring setup, appear correct and self-contained. However, there's a critical issue with the configuration at the root level that will likely break the build for the main crate.
0c2dd79 to
d4c42e5
Compare
d4c42e5 to
eba2a6e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2883 +/- ##
=======================================
Coverage 91.90% 91.90%
=======================================
Files 20 20
Lines 5883 5883
=======================================
Hits 5407 5407
Misses 476 476 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
f529f10 to
01ed246
Compare
01ed246 to
c2fa2b1
Compare
c2fa2b1 to
87b5907
Compare
This allows us to simplify the logic which ensures that we never depend on crate versions which are incompatible with our MSRV. It also avoids a performance bottleneck on our MSRV in which updating the crates.io index is very slow. Closes #1595 gherrit-pr-id: Gd8dc83951469fd1467ddb65d2ac524b709fe9503
87b5907 to
76961c5
Compare
This was made obsolete once we started vendoring our dependencies (#2883). gherrit-pr-id: Ge64eead3ff76fbb4564b48248fcd713b51711573
This was made obsolete once we started vendoring our dependencies (#2883). gherrit-pr-id: Ge64eead3ff76fbb4564b48248fcd713b51711573
This allows us to simplify the logic which ensures that we never depend
on crate versions which are incompatible with our MSRV. It also avoids a
performance bottleneck on our MSRV in which updating the crates.io index
is very slow.
Closes #1595
Latest Update: v13 — Compare vs v12
📚 Full Patch History
Links show the diff between the row version and the column version.