Flutter Rust Bridge Versions Save

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.

v2.0.0-dev.33

1 week ago

v2.0.0-dev.32

1 month ago
  • Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
  • Support self in non-opaque case (&self already supported before) #1880
  • Support &SomeStructOrEnum in non-opaque case (SomeStructOrEnum already supported before) #1880
  • Support &str type (String already supported before) #1880
  • Support instance and static methods for enums without fields #1879
  • Revert stream default semantics to not wait for Rust function execution #1877
  • Allow users to customize whether to await for Rust function for streams #1877
  • Hint users when a type is automatically inferred as both opaque and non-opaque #1876
  • Add check to ensure Rust and Dart has in-sync generated code #1878

v2.0.0-dev.31

1 month ago
  • Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
  • Support methods in external crates #1861
  • Support inserting arbitrary Dart code #1860
  • Support disabling default Hash/Eq generation #1860
  • Support passing stream object at arbitrary location and arbitrary amount #1867
  • Let Rust function finish execution before returning stream object #1867
  • Support cases when using Rust conditional compilation #1856
  • Fix not exporting some struct types needed for customizing handlers #1865
  • Fix ignoring user-provided custom handler objects #1865
  • Fix ReceivePort is not closed when subscription is cancelled before Rust closes the stream #1857

v2.0.0-dev.30

1 month ago

v2.0.0-dev.29

1 month ago

v2.0.0-dev.28

2 months ago

v2.0.0-dev.27

2 months ago
  • Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
  • Improve procedure macros #1800 #1676 (thanks @Desdaemon)
  • Add support for ffigen upgrades #1799 #1757 (thanks @aran)
  • Improve hints when structs are in lib.rs #1802 #1579 (thanks @h3x4d3c1m4l)
  • Improve scenarios when opaque-by-default is more natural #1805
  • Improve behavior of constructor #1804
  • Fix when using non-opaque struct + option + opaque inner type #1803

v2.0.0-dev.26

2 months ago

v2.0.0-dev.25

2 months ago
  • Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
  • Generate decl of store_dart_post_cobject when full_dep enabled #1773 (thanks @Berrysoft)
  • Support type Self (originally needs to specify the concrete type, now can use this shortcut) #160
  • Provide hints when struct/enum is never used #1763
  • Improve hints when types are exported but not used #1779
  • Auto understand when user structs have name conflict with builtin types #1782
  • Fix when non-enum + specify default value + dart_enums_style being true #1780
  • Fix Vec<Uuid> error when using CST codec (the SSE codec does not have this bug) #1762
  • Fix build-web cannot find Dart program in some platforms #1758

v2.0.0-dev.24

3 months ago
  • Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
  • Support ignoring all methods of a struct #1730
  • Allow Rust structs to become Dart callable objects #1728
  • Improve hints when using non-meaningful &mut #1739
  • Allow Dart GC to collect when a Stream is created but not closed #1737
  • Make rust_builder has unique name to avoid conflicts #1738
  • Inform users when both config file and command line arguments are used #1731