fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
https://fzyzcjy.github.io/flutter_rust_bridge/
MIT License
3.64k stars 256 forks source link

Abstract async runtimes #1848

Open malivix opened 2 months ago

malivix commented 2 months ago

Changes

Close #1846 (EDITed by @fzyzcjy to use "Close" to make github auto trigger correlation)

Checklist

Remark for PR creator

welcome[bot] commented 2 months ago

Hi! Thanks for opening this pull request! :smile:

malivix commented 2 months ago

@fzyzcjy can you check you are happy with approach then I need to fix some stuff about cargo.lock also how user can spawn or spawn_local ...

fzyzcjy commented 2 months ago

@malivix Looked at the code very briefly and the rough approach seems OK to me!

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 97.69%. Comparing base (b6300cd) to head (e3a0938).

Files Patch % Lines
frb_rust/src/rust_async/io/tokio.rs 68.88% 14 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1848 +/- ## ========================================== - Coverage 99.27% 97.69% -1.58% ========================================== Files 359 359 Lines 15127 15119 -8 ========================================== - Hits 15017 14771 -246 - Misses 110 348 +238 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

malivix commented 1 month ago

Good job! Mainly some nits

I am on travel will finalize it soon

fzyzcjy commented 1 month ago

I am on travel will finalize it soon

No worries, take your time and have a good vacation!

debanjanbasu commented 6 days ago

@malivix - Is this going to get some love? 🥰, have been waiting for it for some time... Is there anything I can be of help with?

malivix commented 6 days ago

@malivix - Is this going to get some love? 🥰, have been waiting for it for some time... Is there anything I can be of help with?

Sorry I was in travel and a bit busy will try to finalize it this week