Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rust
  3. flutter_rust_bridge

flutter_rust_bridge

MITDartv2.14.0-beta.1

A feature-rich, seamless binding generator for calling Rust code from Flutter/Dart and vice versa.

Visit WebsiteGitHubGitHub
5.4k stars419 forks0 contributors

What is flutter_rust_bridge?

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.

Target Audience

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.

Value Proposition

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.

Overview

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

Use Cases

Best For

  • Adding high-performance Rust algorithms or data processing to Flutter apps
  • Using existing Rust crates (libraries) in a Flutter/Dart project
  • Building Flutter UI frontends for Rust-based systems or backends
  • Writing CPU-intensive or multi-threaded code in Rust for Flutter mobile apps
  • Creating cross-platform apps that require both a rich UI and native performance
  • Integrating Rust's memory safety and reliability into Flutter development workflows

Not Ideal For

  • Projects building simple UI apps without performance-critical backend logic
  • Teams lacking Rust expertise and unwilling to invest in learning the language
  • Rapid prototyping where Flutter's Dart ecosystem alone is sufficient for MVP
  • Apps requiring frequent hot-reload cycles without Rust compilation overhead

Pros & Cons

Pros

Flutter Favorite Status

Officially recognized as a Flutter Favorite package, ensuring high quality, community trust, and alignment with Flutter best practices, as noted in the README.

Arbitrary Type Support

Handles complex Rust and Dart types like enums, structs, streams, and errors without manual serialization, enabling natural code writing as demonstrated in the examples.

Async and Two-Way Communication

Supports async Rust, sync Rust, async Dart, and sync Dart interoperability, plus Rust-to-Dart callbacks, allowing flexible and non-blocking integration.

Cross-Platform Coverage

Works on Android, iOS, Windows, Linux, macOS, and Web, providing broad platform support for combining Rust and Flutter in diverse environments.

Cons

Experimental Feature Risk

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.

Dual Ecosystem Complexity

Requires proficiency in both Rust and Flutter/Dart, increasing the learning curve and toolchain setup overhead compared to single-language solutions.

Code Generation Dependency

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.

Frequently Asked Questions

Quick Stats

Stars5,403
Forks419
Contributors0
Open Issues8
Last commit2 days ago
CreatedSince 2021

Tags

#dart#ffi#async#mobile-development#cross-platform#bindgen#flutter#rust#code-generation#binding-generator#performance

Built With

R
Rust
F
Flutter
D
Dart

Links & Resources

Website

Included in

Rust56.6k
Auto-fetched 11 hours ago

Related Projects

TauriTauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

Stars110,898
Forks3,921
Last commit11 hours ago
imguiimgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

Stars76,118
Forks12,040
Last commit21 hours ago
DioxusDioxus

Fullstack app framework for web, desktop, and mobile.

Stars38,994
Forks1,876
Last commit4 days ago
icediced

A cross-platform GUI library for Rust, inspired by Elm

Stars31,453
Forks1,659
Last commit16 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub