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.61k stars 254 forks source link

Automatically wait when concurrent mutable access, while still preventing deadlocks #1920

Closed fzyzcjy closed 1 week ago

fzyzcjy commented 1 week ago

Changes

Close https://github.com/fzyzcjy/flutter_rust_bridge/issues/1883 Close https://github.com/fzyzcjy/flutter_rust_bridge/issues/1914 Close https://github.com/fzyzcjy/flutter_rust_bridge/issues/1917

Checklist

Remark for PR creator

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 99.24%. Comparing base (8915d06) to head (d584832).

Files Patch % Lines
frb_rust/src/rust_auto_opaque/inner.rs 81.81% 2 Missing :warning:
frb_rust/src/rust_auto_opaque/dart2rust.rs 99.02% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1920 +/- ## ========================================== - Coverage 99.25% 99.24% -0.02% ========================================== Files 365 368 +3 Lines 15533 15710 +177 ========================================== + Hits 15417 15591 +174 - Misses 116 119 +3 ```

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