-
Notifications
You must be signed in to change notification settings - Fork 234
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
Update toml dependency to latest version #2044
base: main
Are you sure you want to change the base?
Conversation
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.
Unfortunately this causes problems for mozilla-central, so we need to hold off on this for at least the next release.
ef0de29
to
7305b36
Compare
Ah, thanks for looking! I tried to read rust-versions.md and it points to There's probably something I'm missing? |
I am in the process of vendoring UniFFI in AOSP, which means that I have to make it play nice with the existing crates found here: https://cs.android.com/android/platform/superproject/+/main:external/rust/crates/ Android tries to only vendor each crate in a single version, so it would be helpful for me if the toml dependency could be updated. This updates the “Requires” version to 1.67. I believe this is okay since this version is below 1.74 which is what mozilla-central currently requires.
7305b36
to
cd414e9
Compare
I think the problem is toml - ie, https://searchfox.org/mozilla-central/rev/f63ca2952da98e0817bdae0ddf1314281a497106/Cargo.lock#5755-5762 - bumping that version here would probably mean m-c ends up with 2 versions of that crate which we try hard to avoid. |
Yup, sorry, should have been more precise. We also try to avoid dupe crates in tree. |
Thanks both for explaining! So it seems we're in the same boat 😅 Just with different trees of crates to update. On my side in Android, I'll just carry the small patch here to make uniffi_macros build with a recent toml dependency. If/when the dependency is updated here and in m-c, then I'll notice on the next import and drop the patch. We can close the PR here if you like since you're obviously already on top of this. |
Let's leave it open, I hope we can cut a uniffi release next week, and after that we can land this. |
With the release out we can now make progress on this.
We pull in other trusted audits from Google (via https://github.com/google/rust-crate-audits). |
Yes, I like to help here! It would be useful for me to become more familiar with |
I looked a bit at the |
I am in the process of vendoring UniFFI in AOSP, which means that I have to make it play nice with the existing crates found here:
https://cs.android.com/android/platform/superproject/+/main:external/rust/crates/
Android tries to only vendor each crate in a single version, so it would be helpful for me if the toml dependency could be updated.
This updates the “Requires” version to 1.70. I believe this is okay since this version is below 1.74 which is what mozilla-central currently requires.