flutter_rust_bridge

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

MIT License

Downloads
5.3M
Stars
3.5K
Committers
113

Bot releases are hidden (Show)

flutter_rust_bridge - v2.0.0-dev.31 Latest Release

Published by fzyzcjy 6 months 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
flutter_rust_bridge - v2.0.0-dev.30

Published by fzyzcjy 7 months ago

flutter_rust_bridge - v2.0.0-dev.29

Published by fzyzcjy 7 months ago

flutter_rust_bridge - v2.0.0-dev.28

Published by fzyzcjy 7 months ago

flutter_rust_bridge - v2.0.0-dev.27

Published by fzyzcjy 7 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
flutter_rust_bridge - v2.0.0-dev.26

Published by fzyzcjy 8 months ago

flutter_rust_bridge - v2.0.0-dev.25

Published by fzyzcjy 8 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
flutter_rust_bridge - v2.0.0-dev.24

Published by fzyzcjy 8 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
flutter_rust_bridge - v2.0.0-dev.23

Published by fzyzcjy 9 months ago

flutter_rust_bridge - v2.0.0-dev.22

Published by fzyzcjy 9 months ago

  • Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
  • Automatically upgrade flutter_rust_bridge Dart/Rust runtime versions when running generate #1704
  • Fix failure of formatting Dart code when path is too long #1702
  • Add checks when build_runner needs to be a dependency #1695
  • Fix generated code is breaking cargo test because of its doc-test contains a moved import #1706
  • Add uuid and chrono for SSE codec (the CST/DCO codec already supports it) #169
  • Add example using build.rs #1696
  • Add doc about movement of things like StreamSink #1703
  • Add tests and doc about multiple Dart Isolates #1699
flutter_rust_bridge - v2.0.0-dev.21

Published by fzyzcjy 9 months ago

  • Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
  • Support more fine-grained rust-auto-opaque #1680
  • Add RustAutoOpaque as an extra alternative approach to fully automatic arbitrary types #1679
  • Fix when primitive enums + has custom discriminator values + using SSE codec #1677
  • Fix when StreamSink + rust-auto-opaque types #1682
  • Fix when using types in external crate and use HashMap to contain it (continue from @aran's PR) #1684
  • Add doc to explain how to configure ios build system to avoid "linker undefined symbols" #1678
  • Improve comments for generated code #1685
flutter_rust_bridge - v2.0.0-dev.20

Published by fzyzcjy 9 months ago

  • Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
  • Fix module parsing when two modules have the same name #1664 (thanks @alanlzhang)
  • Fix integrate command's default template has rust_lib hardcoded instead of custom names #1669
  • Support Vec<Vec<u8>> for CST/DCO codec (SSE codec already supports it) #1663
  • Make LLVM dependency optional #1666
  • Add checks of versions #1667
flutter_rust_bridge - v2.0.0-dev.19

Published by fzyzcjy 9 months ago

flutter_rust_bridge - v2.0.0-dev.18

Published by fzyzcjy 9 months ago

flutter_rust_bridge - v2.0.0-dev.17

Published by fzyzcjy 9 months ago

flutter_rust_bridge - v2.0.0-dev.16

Published by fzyzcjy 9 months ago

flutter_rust_bridge - v2.0.0-dev.15

Published by fzyzcjy 9 months ago

flutter_rust_bridge - v2.0.0-dev.14

Published by fzyzcjy 10 months ago

flutter_rust_bridge - v2.0.0-dev.13

Published by fzyzcjy 10 months ago

flutter_rust_bridge - v2.0.0-dev.12

Published by fzyzcjy 10 months ago