# fzyzcjy/flutter_rust_bridge

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

Repository: https://github.com/fzyzcjy/flutter_rust_bridge
Canonical: https://ross.abutalabs.com/products/flutter_rust_bridge
Homepage: https://fzyzcjy.github.io/flutter_rust_bridge/
Language: Dart
License: MIT
License Family: permissive
Topics: dart, flutter, rust, bindgen, ffi
Last push: 2026-08-26T14:50:56+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 1794, "days_push": 7, "days_rel": 10, "gap_med": 19.5, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5385, forks 419 (observed 2026-08-28T04:09:17.129876+00:00)

## What it is
A binding generator that seamlessly connects Flutter/Dart and Rust, generating all glue code so Rust functions can be called from Dart (and vice versa) as if they were native code. It supports arbitrary Rust types, async functions, traits, streams, and one-command project setup.

## Use cases
- call Rust code from a Flutter app
- use Rust libraries in Dart
- build a Flutter mobile app with a Rust backend
- share Rust logic across Flutter platforms
- write performance-critical code in Rust for Flutter
- let Rust call Dart functions
- integrate Rust into an existing Flutter project

## When to choose
- you want high-performance Rust logic inside a Flutter app without hand-writing FFI
- you need arbitrary Rust types, async, traits, or streams across the boundary
- you want a one-liner setup and automatic code generation
- you need bidirectional Rust<->Dart calls

## When to avoid
- your app is pure Dart with no need for Rust
- you target platforms or toolchains outside Flutter/Dart and Rust
- you need a stable ABI for plugins consumed by non-Flutter apps
- you want a minimal hand-rolled FFI with no codegen dependency

## Facets
- artifact type: library
- maturity: stable
- function: sdk, serialization, developer-tools
- domain: cross-platform, mobile-development, developer-tools, web-development
- platform: cross-platform, rust
- tags: ffi, binding-generator, flutter, rust, dart, codegen, interop, mobile, desktop, web-server

## Member repositories
- fzyzcjy/flutter_rust_bridge (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:17.129876+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:58:25.612332+00:00, confidence not recorded.
  - readme: https://github.com/fzyzcjy/flutter_rust_bridge (fetched 2026-08-28T04:09:17.129876+00:00, sha 092e0a082064)
  - homepage: https://fzyzcjy.github.io/flutter_rust_bridge/ (fetched 2026-08-29T08:52:48.522026+00:00, sha 3dace63da46f)
  - site_page: https://cjycode.com/flutter_rust_bridge/quickstart (fetched 2026-08-29T08:52:48.531868+00:00, sha 96d1ae0bc107)
  - site_page: https://cjycode.com/flutter_rust_bridge/guides/misc-features (fetched 2026-08-29T08:52:48.534006+00:00, sha 083de2013784)
- Data as of 2026-08-30T08:39:29.467469+00:00.
