talira

Compare

flutter_rust_bridgebindgenffiRustler
What it isCall Rust code from Flutter and Dart, with the glue code generated for youGenerates Rust FFI bindings to C and some C++ libraries from their headersUtilities and a binding generator for calling C from Dart through FFIWrite Erlang and Elixir NIFs in safe Rust
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.690.680.640.57
Stars550053282814899
Last commit2026-11-282026-11-232026-11-262026-11-14
LicenceMITBSD-3-ClauseBSD-3-ClauseMIT OR Apache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyfzyzcjyThe Rust ProjectGoogle
public company (NASDAQ:GOOGL)
rusterlium
Features
  • generates Dart bindings for ordinary Rust code
  • arbitrary Rust types, closures, async functions and traits
  • Rust can call Dart functions
  • one-command project setup with flutter_rust_bridge_codegen create
  • Android, iOS, Windows, Linux, macOS and web (JS and WebAssembly)
  • Generates repr(C) structs, extern functions, enums and constants from C headers
  • Runs from build.rs as a build dependency, or from the command line with bindgen-cli
  • Allowlisting, blocklisting, opaque and replaced types
  • Control over derived traits such as Copy and Clone
  • Extra clang arguments through environment variables, per target for cross-compiling
  • native memory allocation for Dart FFI
  • UTF-8 and UTF-16 string conversion to and from native code
  • ffigen: generate Dart bindings from C, Objective-C and Swift headers with LibClang
  • write Erlang VM NIFs in safe Rust
  • encodes and decodes Erlang terms
  • catches Rust panics before they reach the VM
  • derive attribute makes Rust structs encodable
  • resource objects for passing Rust structs to BEAM code
  • Mix compiler and mix rustler.new generator for Elixir
Limitations
    • C++ support is partial: it handles C and only some C++
    • Needs libclang installed to parse headers
    • ffigen parses C headers only, not C++ headers