Skip to content
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

[uniffi] Reintroduce async support for UniFFI #130

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

mgeisler
Copy link
Contributor

Issues:

Addresses #81

Description of changes:

UniFFI added support for async traits in mozilla/uniffi-rs#1981, but this is not yet released. This commit temporarily introduces a Git dependency on UniFFI to let us test the async functionality which was removed in #86.

An unrelated UniFFI change (mozilla/uniffi-rs#1840) made our existing test fail.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.

@mgeisler mgeisler requested a review from a team as a code owner March 22, 2024 19:07
UniFFI added support for async traits in mozilla/uniffi-rs#1981, but
this is not yet released. This commit temporarily introduces a Git
dependency on UniFFI to let us test the async functionality which was
removed in awslabs#86.

An unrelated UniFFI change (mozilla/uniffi-rs#1840) made our existing
test fail.
This creates async tests for most of our sync tests.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 60.86957% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 89.51%. Comparing base (98cf9fe) to head (6d75bbd).

Files Patch % Lines
mls-rs-uniffi/src/config/group_state.rs 55.55% 4 Missing ⚠️
mls-rs-uniffi/src/lib.rs 0.00% 3 Missing ⚠️
mls-rs-uniffi/src/config.rs 81.81% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #130      +/-   ##
==========================================
- Coverage   89.52%   89.51%   -0.02%     
==========================================
  Files         173      173              
  Lines       31404    31415      +11     
==========================================
+ Hits        28114    28120       +6     
- Misses       3290     3295       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tomleavy tomleavy merged commit b9b2715 into awslabs:main Mar 25, 2024
12 checks passed
stefunctional added a commit that referenced this pull request Mar 25, 2024
stefunctional added a commit that referenced this pull request Mar 25, 2024
stefunctional added a commit that referenced this pull request Mar 26, 2024
mulmarta pushed a commit that referenced this pull request Mar 27, 2024
@mgeisler mgeisler deleted the uniffi-async branch March 29, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants