Skip to content
CAI
Produce a survey ↗Verify a survey

fzyzcjy/flutter_rust_bridge

This system is a code generation tool and runtime library for the Flutter Rust Bridge (FRB) framework, designed to automate the creation of high-performance bindings between Dart/Flutter and Rust. It parses Rust source code to generate Dart and Rust boilerplate, including FFI dispatchers, serialization codecs, and platform-specific integration templates. The system supports multiple serialization strategies (SSE, DCO, CST) and targets various platforms, including mobile, desktop, and web (WASM).

59.9

Adequate · 5 August 2026

965k

lines of production code

Dart

with Rust

1

bus factor · 165 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2021–2023 · Code generation and runtime refactoring

The project underwent a comprehensive architectural overhaul of the code generation pipeline, introducing a modular, spec-driven approach for producing Rust, C, and Dart bindings. This period also saw the introduction of pluggable codec abstractions (CST, DCO, SSE) for message serialization and a significant expansion of the Dart runtime to support cross-platform interop, memory safety testing, and native asset integration.

159 changes

2024 · IR and codegen refactoring

This period focused on a comprehensive internal refactoring of the code generation pipeline, introducing a new Mid-level Intermediate Representation (MIR) and flattening the High-level IR (HIR) for better modularity. The team also expanded the example suite to include a minimal Dart/Flutter setup, a third-party Web Audio API integration, and Rust UI examples for counter and todo list applications.

81 changes

2025–2026 · Native assets integration and platform expansion

This period focused on implementing native assets integration for Flutter, introducing a new backend that bundles Rust crates as native assets across Android, iOS, Linux, macOS, Windows, and OpenHarmony. The work also expanded platform support by adding Linux and OpenHarmony scaffolding, while introducing a Rust-to-Dart logging bridge and enhancing developer tooling for release and environment management.

25 changes

CAI lens gauges

Survey your own repository

fzyzcjy/flutter_rust_bridge was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 5 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 1d5348baae — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards