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.12.0

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

Visit WebsiteGitHubGitHub
5.2k stars399 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,194
Forks399
Contributors0
Open Issues19
Last commit2 days ago
CreatedSince 2021

Tags

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

Built With

R
Rust
F
Flutter
D
Dart

Links & Resources

Website

Included in

Rust56.6k
Auto-fetched 1 day ago

Related Projects

TauriTauri

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

Stars105,771
Forks3,550
Last commit1 day ago
DioxusDioxus

Fullstack app framework for web, desktop, and mobile.

Stars35,800
Forks1,633
Last commit1 day ago
icediced

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

Stars30,294
Forks1,563
Last commit1 day ago
eguiegui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

Stars28,834
Forks2,018
Last commit2 days 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