Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
MIT License
Bot releases are visible (Hide)
Published by fzyzcjy almost 3 years ago
with_flutter
example.Published by fzyzcjy almost 3 years ago
--skip-add-mod-to-lib
flag.stdarg.h
automatically (related: #108 and #53).--llvm-path
flag.Published by fzyzcjy almost 3 years ago
Option<T>
types to be transformed (thanks @Desdaemon)Stream
s: call function once, "return" multiple times with different data.FlutterRustBridgeSetupMixin
(an optional helper class), which allows custom setup hooks before ffi can be executed.hint
parameter in generated Dart code, allowing users to pass custom data to the Dart executor, thus increasing flexibility.Handler
, now it is much easier to customize your own handler functionality.Box::new(FnOnce)
, thus enables better inlining for ffi function calls.FlutterRustBridgeTimeoutMixin
. If used, a timeout exception will be thrown for ffi calls that do not return within time limit.Published by fzyzcjy about 3 years ago
dummy_method_to_enforce_bundling
to avoid "symbols not found" problems in iOS release build