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 - v1.17.0

Published by fzyzcjy over 2 years ago

  • Support bridging functions with return types other than Result #335 (thanks @antonok-edm)
flutter_rust_bridge - v1.16.0

Published by fzyzcjy over 2 years ago

  • Allow structs and enums to be imported into the api file from elsewhere in the crate #319 (thanks @SecondFlight)
  • Refactor command module to fix Windows build failures #325 (thanks @Desdaemon)
  • Quote arguments when calling external commands #322 (thanks @Desdaemon)
  • Update examples to fix compile error
  • Bump dependency version #314
flutter_rust_bridge - v1.15.1

Published by fzyzcjy over 2 years ago

  • Bump dependency version #311
flutter_rust_bridge - v1.15.0

Published by fzyzcjy over 2 years ago

  • Fix potential name collision with port argument #305 (thanks @valeth)
flutter_rust_bridge - v1.14.0

Published by fzyzcjy almost 3 years ago

  • Separate generated definitions from implementations #298
flutter_rust_bridge - v1.13.0

Published by fzyzcjy almost 3 years ago

  • When running codegen, create folders for output paths if they don't exist #286 (thanks @SecondFlight)
flutter_rust_bridge - v1.12.0

Published by fzyzcjy almost 3 years ago

  • Redesign documentation and make it a mdBook #272
  • Remove syn dependency from macros to speed up #277 (thanks @Desdaemon)
flutter_rust_bridge - v1.11.0

Published by fzyzcjy almost 3 years ago

Happy new year!

  • Marker attributes for expressiveness #261 (thanks @Desdaemon)
  • Improvements #267 (thanks @Desdaemon): Resolve #265, Resolve #266, Fix attributes not working on enum variants, Add comments on enum variants and fields, (Internal) unify tuple and normal enum structs
  • Avoid user parameter collision in wire functions #270 (thanks @Desdaemon)
flutter_rust_bridge - v1.10.0

Published by fzyzcjy almost 3 years ago

  • Support enum structs (Rust's expressive enums with fields) #256 (thanks @Desdaemon)
flutter_rust_bridge - v1.9.1

Published by fzyzcjy almost 3 years ago

  • Bump versions of dependencies
flutter_rust_bridge - v1.9.0

Published by fzyzcjy almost 3 years ago

  • Suppose field-less enum types #239 (thanks @Desdaemon)
flutter_rust_bridge - v1.8.2

Published by fzyzcjy almost 3 years ago

  • Fix bug that returning u32 from Rust results in wrong value received by Dart #234
flutter_rust_bridge - v1.8.1

Published by fzyzcjy almost 3 years ago

  • Update example and doc.

(Remark: Should make a release, otherwise Post-Release CI fails)

flutter_rust_bridge - v1.8.0

Published by fzyzcjy almost 3 years ago

  • Add support for unit return type #198 (thanks @surban)
  • Add flutter example for macOS and add macOS instructions in README #211 (thanks @AlienKevin)
flutter_rust_bridge - v1.7.0

Published by fzyzcjy almost 3 years ago

  • Enrich metadata of generated ffi calls - now we can have more "reflection" information.
  • Add llvm-compiler-opts as command-line argument #210 (thanks @trobanga)
flutter_rust_bridge - v1.6.1

Published by fzyzcjy almost 3 years ago

  • Remove extra newline on empty comment #203 (thanks @Desdaemon)
flutter_rust_bridge - v1.6.0

Published by fzyzcjy almost 3 years ago

  • Implement Vec<String> #193 (thanks @Desdaemon)
  • Add logging for FlutterRustBridgeSetupMixin for users to debug easily.
  • Set names of threads for ThreadPoolExecutor to make debugging easier when looking at threads.
flutter_rust_bridge - v1.5.0

Published by fzyzcjy almost 3 years ago

  • Copy Rust comments over to Dart generated file (#182, thanks @Desdaemon)
flutter_rust_bridge - v1.4.0

Published by fzyzcjy almost 3 years ago

  • Support synchronous function calls in addition to existing asynchronous Future and Stream approaches (#175, #176)
  • Remove unnecessary dependency of lint for the Dart package.
flutter_rust_bridge - v1.3.0

Published by fzyzcjy almost 3 years ago

  • Support more types of the formVec<primitive_type> and ZeroCopyBuffer<Vec<primitive_type>>, such as Vec<f32> and ZeroCopyBuffer<Vec<f32>> to be transformed into Float32List in Dart. (#162, #153)
  • Do not generate unnecessary Dart to Rust wire code to fix bugs such as when Vec<ZeroCopyBuffer<Vec<u8>>> is in output argument.
  • Warn when ffigen emits any [SEVERE] log messages.
  • Make outputs change less when input of codegen changes.
  • Simplify Wire2Api<Option<T>> generated code.
Package Rankings
Top 4.27% on Crates.io
Top 6.74% on Proxy.golang.org
Top 1.38% on Pub.dev
Badges
Extracted from project README
Rust Package Flutter Package Stars CI Post-Release codecov All Contributors Codacy Badge