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

Add check to ensure Rust and Dart has in-sync generated code #1878

Closed fzyzcjy closed 1 month ago

fzyzcjy commented 1 month ago

Changes

Related: #1863

Checklist

Remark for PR creator

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 97.79%. Comparing base (d6fc16d) to head (0a4cc30).

:exclamation: Current head 0a4cc30 differs from pull request most recent head c88aec9. Consider uploading reports for the commit c88aec9 to get more accurate results

Files Patch % Lines
frb_dart/lib/src/main_components/entrypoint.dart 63.63% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1878 +/- ## ========================================== - Coverage 99.27% 97.79% -1.49% ========================================== Files 365 365 Lines 15484 15497 +13 ========================================== - Hits 15372 15155 -217 - Misses 112 342 +230 ```

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