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

Consume updated uniffi #54

Merged
merged 8 commits into from
Jan 9, 2024
Merged

Consume updated uniffi #54

merged 8 commits into from
Jan 9, 2024

Conversation

skeet70
Copy link
Member

@skeet70 skeet70 commented Jan 3, 2024

This uses their new docstring generation and opts-out of the now opt-in callback interfaces that would make our traits implementable by foreign consumers (because it doesn't work with ByRef args right now.

Depends on a PR branch that's slated for release in 0.26.

Their docstring implementation doesn't copy trait method docstrings onto impl-d methods when not overridden like I'd made it do in the branch we were using. For now I've copied all the relevant comments around, but we could PR having uniffi do it in the future.

Which we opt out of since we don't need to allow for foreign
implementation of our clients
Uniffi folks are open to eigerco docstring behavior I'd implemented that
does this for us when the docstring hasn't been overridden, but it isn't
in yet.
@skeet70 skeet70 requested a review from a team as a code owner January 3, 2024 19:14
@skeet70 skeet70 requested review from coltfred and removed request for a team January 3, 2024 19:14
Copy link

github-actions bot commented Jan 3, 2024

File Coverage Lines
All files 62% 62%
src/saas_shield/standard.rs 57% 57%
src/saas_shield/deterministic.rs 34% 34%
src/saas_shield/standard_attached.rs 0% 0%
src/saas_shield/vector.rs 0% 0%
src/standalone/standard_attached.rs 91% 91%
src/standalone/vector.rs 69% 69%
src/standalone/standard.rs 97% 97%
src/standalone/deterministic.rs 51% 51%

Minimum allowed coverage is 50%

Generated by 🐒 cobertura-action against f89d443

@skeet70 skeet70 requested a review from a team as a code owner January 5, 2024 18:05
@skeet70 skeet70 requested review from cjyar and removed request for a team January 5, 2024 18:05
@coltfred coltfred merged commit 86b863f into main Jan 9, 2024
11 checks passed
@coltfred coltfred deleted the update-uniffi branch January 9, 2024 17:04
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