fzyzcjy/flutter_rust_bridge

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 22 minutes ago
Added to GitGenius on September 12th, 2026
Created on October 4th, 2021
Open Issues & Pull Requests: 37 (+0)
GitHub issues: Enabled
Number of forks: 419
Total Stargazers: 5,404 (+0)
Total Subscribers: 28 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.0 hours
Mean response time: 9.7 hours
90th percentile: 21.9 hours
Tracked items: 454

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 7% of issues opened in the past year have been closed. Three people close 71% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 2
Closed in 7 days: 4
Avg open age: 58 days
Stale 30+ days: 1
Stale 90+ days: 0

Recent activity

Opened in 7 days: 2
Closed in 7 days: 4
Comments in 7 days: 4
Events in 7 days: 8

Top labels

  • awaiting (284)
  • bug (177)
  • enhancement (151)
  • wontfix (119)
  • experimental feature (17)

Detailed Description

flutter_rust_bridge is a binding generator that enables seamless communication between Flutter/Dart and Rust code.

The tool solves the problem of integrating Rust functionality into Flutter applications by automatically generating the necessary bindings and glue code. Rather than requiring developers to manually write Foreign Function Interface (FFI) code, the generator accepts normal Rust code—including complex features like arbitrary types, closures, mutable references, async functions, and traits—and produces corresponding Dart code that calls it as if the Rust functions were native Flutter methods. This approach eliminates the boilerplate typically required when bridging two languages with different type systems and calling conventions.

Developers should adopt this tool if they are building Flutter applications that need to leverage Rust libraries or performance-critical components. It suits projects ranging from simple function calls to complex scenarios involving asynchronous Rust code, trait-based abstractions, and third-party Rust packages. The tool handles arbitrary types without requiring manual serialization setup, supports Rust calling back into Dart, and provides access to existing Flutter debuggers and Rust libraries without restriction. The project positions itself as simpler than manual FFI binding work, requiring only a one-liner command for initial setup.

The project maintains active development with substantial ongoing work across multiple areas. The codebase has received numerous pull requests addressing features, developer experience improvements, and performance enhancements. Development has progressed through major version iterations, with version 2 introducing significant capabilities like async Rust support, bidirectional calling between languages, folder-based input handling, and a faster codec option. The tool continues to expand its type system support and has introduced experimental features for parsing third-party packages and handling lifetime specifiers. The project demonstrates sustained attention to both breadth of functionality and quality-of-life improvements for users integrating Rust into Flutter applications.