Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_rust_bridge

Flutter/Dart and Rust binding generator

pub.devRemove
jnigen

A Dart bindings generator for Java and Kotlin APIs using JNI and dart:ffi.

pub.devRemove
ScoresHealth92 (best)87
Maintenance8399 (best)
Quality100 (best)97
Popularity86 (best)65
Community100 (best)80
Compatibility100 (best)85
UsageDownloads (30 days)654k (best)54k
Likes668 (best)135
Pub points160 / 160160 / 160
GitHub stars5.5k (best)281
MaintenanceLatest release2.13.0, 3 months ago1.1.0, 3 days ago (best)
Major versions in 12 months0 (best)1
Contributors100+100+
Publishercjycode.comtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies8 (best)11
LicenseMITBSD-3-CLAUSE
Setup effortMediumHigh
JudgementStrengths
  • Supports arbitrary Rust and Dart types, asynchronous Rust, and two-way communication (Rust calling Dart).
  • Officially recognized as a Flutter Favorite package with strong reliability and CI coverage.
  • Automates tedious FFI boilerplate for Java/Kotlin interop.
  • Supports Gradle and Android SDK dependencies out of the box.
Weaknesses
  • Requires setting up and managing a Rust toolchain alongside your Flutter development environment.
  • Build times and project complexity can increase due to cross-compilation requirements for multiple platforms.
  • Requires manual configuration and a working JDK environment.
  • Class and symbol resolution can fail at runtime if ProGuard prunes classes on Android.
WarningsNoneNone
flutter_rust_bridge vs jnigen: which Flutter package should you use? | pubscout