A feature-rich, seamless binding generator for calling Rust code from Flutter/Dart and vice versa.
Flutter Rust Bridge is a binding generator that automatically creates glue code to call Rust functions from Flutter/Dart applications and vice versa. It solves the problem of integrating high-performance Rust libraries or algorithms into Flutter's cross-platform UI, enabling developers to leverage Rust's speed and safety without manual FFI boilerplate.
Flutter developers who need to incorporate high-performance Rust code (e.g., for algorithms, data-intensive operations, or existing Rust libraries) into their mobile or desktop apps, and Rust developers seeking a UI framework for their Rust systems.
It offers a seamless, feature-rich integration with support for arbitrary types, async/await, two-way calls, and cross-platform compatibility, all while being officially recognized as a Flutter Favorite package with a strong focus on safety and developer experience.
Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
Officially recognized as a Flutter Favorite package, ensuring high quality, community trust, and alignment with Flutter best practices, as noted in the README.
Handles complex Rust and Dart types like enums, structs, streams, and errors without manual serialization, enabling natural code writing as demonstrated in the examples.
Supports async Rust, sync Rust, async Dart, and sync Dart interoperability, plus Rust-to-Dart callbacks, allowing flexible and non-blocking integration.
Works on Android, iOS, Windows, Linux, macOS, and Web, providing broad platform support for combining Rust and Flutter in diverse environments.
Key features like parsing third-party packages and lifetimes are labeled experimental in the README, which may lead to instability or breaking changes in production use.
Requires proficiency in both Rust and Flutter/Dart, increasing the learning curve and toolchain setup overhead compared to single-language solutions.
Relies on generated glue code that must be regenerated on API changes, adding a build step and potential for integration issues if not managed carefully.
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
Fullstack app framework for web, desktop, and mobile.
A cross-platform GUI library for Rust, inspired by Elm
egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.