Replies: 1 comment 1 reply
-
@temeddix can we use this for building plugins, by maybe directly ship the compiled rust binaries in the plugin, and Rinf will use those binaries to communicate with rust instead of looking for native/hub |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This package only supports developing GUI Flutter apps. This framework does NOT support other types of projects:
You cannot use Rinf as a dependency of a Dart package. When you import this package from another Flutter/Dart package, it will end up finding the
./native/hub
crate of the root Flutter project, not the Rust crates in your intermediate Dart package.You CAN, however, copy various files from this repository to create your own Flutter FFI plugin. We recommend taking a look at https://github.com/irondash/hello_rust_ffi_plugin first if you are trying to develop an FFI plugin for Flutter that includes Rust.
Although this framework only supports GUI Flutter apps, we promise to deliver the best development experience as it is mainly focused on this one category.
Beta Was this translation helpful? Give feedback.
All reactions