[deps]: Update Rust crate uniffi to v0.28.0 #889
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
=0.27.2
->=0.28.0
=0.27.2
->=0.28.0
Release Notes
mozilla/uniffi-rs (uniffi)
v0.28.0
Compare Source
What's new?
Objects error types can now be as
Result<>
error type without wrapping them inArc<>
.Swift errors now provide
localizedDescription
(#2116)Procmacros support tuple-errors (ie, enums used as errors can be tuple-enums.)
What's fixed?
Fixed a problem with procmacro defined errors when the error was not used as an
Err
resultin the namespace (#2108)
Custom Type names are now treated as type names by all bindings. This means if they will work if they happen to be
keywords in the language. There's a very small risk of this being a breaking change if you used a type name which
did not already start with a capital letter, but this changes makes all type naming consistent.
(#2073)
Macros
uniffi::method
anduniffi::constructor
can now be used withcfg_attr
. (#2113)Python: Fix custom types generating invalid code when there are forward references.
(#2067)
What's changed?
The internal bindings generation has changed to make it friendlier for external language bindings.
However, this a breaking change for these bindings.
No consumers of any languages are impacted, only the maintainers of these language bindings.
(#2066), (#2094)
The async runtime can be specified for constructors/methods, this will override the runtime specified at the impl block level.
All changes in v0.28.0.
v0.27.3
Compare Source
unicode-linebreak
andunicode-width
. They were being pulled in asub-dependencies for the
textwrap
crate, but weren't really useful.All changes in v0.27.3.
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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.