[PM-34607] [deps] Platform (cargo): Update Rust crate uniffi to v0.31.0#900
[PM-34607] [deps] Platform (cargo): Update Rust crate uniffi to v0.31.0#900renovate[bot] wants to merge 2 commits intomainfrom
Conversation
|
Internal tracking:
|
🔍 SDK Breaking Change Detection ResultsSDK Version:
Breaking change detection completed. View SDK workflow |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
New Issues (1)Checkmarx found the following issues in this Pull Request
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #900 +/- ##
=======================================
Coverage 82.45% 82.45%
=======================================
Files 356 356
Lines 42817 42817
=======================================
Hits 35306 35306
Misses 7511 7511 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|





This PR contains the following updates:
=0.29.4→=0.31.0Release Notes
mozilla/uniffi-rs (uniffi)
v0.31.0Compare Source
uniffi-bindgencommand no longer accepts the--lib-fileargument. Instead, pass thelibrary directly without a UDL file.
[Swift|Kotlin|Python|Ruby]BindingGeneratortypes. Useuniffi::generateinsteadto generate these bindings.
need to be reworked as well. See #2787 for
examples of how this can be done.
What's Deprecated?
BindgenCrateConfigSupplier. Use the newBindgenPathstype instead.What's New?
uniffi::generatefunction. This implements theuniffi-bindgen generatecommand andallows it to be run programmatically.
--libraryargument ofuniffi-bindgenis deprecated and no longer has an effect.uniffi-bindgenwill now auto-detect when the source path is a library rather than a UDL file.see the docs.
(#2715)
(#2706, #2724, #2739).
BindgenPathstype, which is the new way to find UDL and TOML data.name = "NewVariantName"attribute (#2783)uniffi-bindgenthat doesn't depend oncargo-metadata(#2746)What's Fixed
name, avoiding naming conflicts and allowing payloads to reuse the variant name (#2698).
toString(),equals(),hashCode(), andcompareTo()implementations. Flat enums only support exportingDisplay. (#2700).Eq,Cmpetc would generate invalid code if the Rust name had unusual captialization (#2707).#[doc(...)]attributes in exported blocks (#2777)__eq__(#2741)checksum comparisons will fail if bindings built with
0.30.xand the Rust code is built with0.31.x, or vice-versa.module_pathfield now stores full module paths rather than crate names only.External bindings authors will probably need to make some minor changes to work with this.
See #2695/ for examples.
All changes in v0.31.0.
v0.30.0Compare Source
uniffi-bindgencommand no longer accepts the--lib-fileargument. Instead, pass thelibrary directly without a UDL file.
[Swift|Kotlin|Python|Ruby]BindingGeneratortypes. Useuniffi::generateinsteadto generate these bindings.
need to be reworked as well. See #2787 for
examples of how this can be done.
What's Deprecated?
BindgenCrateConfigSupplier. Use the newBindgenPathstype instead.What's New?
uniffi::generatefunction. This implements theuniffi-bindgen generatecommand andallows it to be run programmatically.
--libraryargument ofuniffi-bindgenis deprecated and no longer has an effect.uniffi-bindgenwill now auto-detect when the source path is a library rather than a UDL file.see the docs.
(#2715)
(#2706, #2724, #2739).
BindgenPathstype, which is the new way to find UDL and TOML data.name = "NewVariantName"attribute (#2783)uniffi-bindgenthat doesn't depend oncargo-metadata(#2746)What's Fixed
name, avoiding naming conflicts and allowing payloads to reuse the variant name (#2698).
toString(),equals(),hashCode(), andcompareTo()implementations. Flat enums only support exportingDisplay. (#2700).Eq,Cmpetc would generate invalid code if the Rust name had unusual captialization (#2707).#[doc(...)]attributes in exported blocks (#2777)__eq__(#2741)checksum comparisons will fail if bindings built with
0.30.xand the Rust code is built with0.31.x, or vice-versa.module_pathfield now stores full module paths rather than crate names only.External bindings authors will probably need to make some minor changes to work with this.
See #2695/ for examples.
All changes in v0.31.0.
v0.29.5Compare Source
Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
PM-34607