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

Remove tokio runtime #239

Merged
merged 4 commits into from
May 30, 2024
Merged

Remove tokio runtime #239

merged 4 commits into from
May 30, 2024

Conversation

erdemyerebasmaz
Copy link
Contributor

@erdemyerebasmaz erdemyerebasmaz commented May 28, 2024

This PR builds on

After reading @dangeross's comment on:

I realized we were still relying on Tokio runtime to on Dart bindings of Liquid SDK.

Changelist:

  • Unnecessary Tokio Runtime dependency has been removed.
  • Functions are marked as sync & async accordingly.
  • Generated Dart bindings.
  • Updated example app on Flutter plugin.

@erdemyerebasmaz erdemyerebasmaz requested a review from dangeross May 28, 2024 12:29
Copy link
Collaborator

@dangeross dangeross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Looks good

@ok300
Copy link
Contributor

ok300 commented May 28, 2024

@erdemyerebasmaz
Copy link
Contributor Author

Nice!

So then

https://github.com/breez/breez-liquid-sdk/blob/e986f756053dae88d42a5b06473a740605a2e284/lib/bindings/Cargo.toml#L23-L24

can also be removed?

@ok300 No, they are used on uniFFI bindings. Perhaps @dangeross could look into Async/Future support to see if they can be removed as well.

@ok300
Copy link
Contributor

ok300 commented May 28, 2024

Alright thanks, then lets keep those dependencies for now.

@ok300 ok300 mentioned this pull request May 29, 2024
@erdemyerebasmaz
Copy link
Contributor Author

Rebased on top of main to apply these changes to

@erdemyerebasmaz erdemyerebasmaz merged commit e0322c3 into main May 30, 2024
0 of 5 checks passed
@erdemyerebasmaz erdemyerebasmaz deleted the remove_tokio_runtime branch May 30, 2024 14:27
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.

3 participants