Categories / Development tools

FFI

Repos

97

Stars

126,421

Last 30 days

+0

C

gtk-rs

Tool to generate rust bindings and user API for glib-based libraries

Created Jun 2015

gtk gobject glib gnome gobject-introspection
Total277
30 days +0
trevyn

Rust bindings for librclone. Automatically compiles rclone as a library and links it into your Rust application.

Created Oct 2021

rclone librclone
Total55
30 days +0
Sean1708

A Rust crate for automatically generating C header files from Rust source file.

Created Oct 2015 Archived

Total187
30 days +0

C#

Cysharp

Generate C# FFI from Rust for automatically brings native code and C native library to .NET and Unity.

Created Feb 2023

Total964
30 days +0

C++

dtolnay

Safe interop between Rust and C++

Created Dec 2019

Total6,870
30 days +0
rust-lang

Automatically generates Rust FFI bindings to C (and some C++) libraries.

Created Jun 2016

ffi bindings codegen
Total5,328
30 days +0

Erlang

rusterlium

Safe Rust bridge for creating Erlang NIF functions

Created Aug 2015

erlang nif elixir ffi binding
Total4,899
30 days +0

Java

benanders

Run Java code from Rust!

Created Dec 2014

rust java java-native-interface jvm
Total74
30 days +0

Lua

mlua-rs

High level Lua 5.5/5.4/5.3/5.2/5.1 (including LuaJIT) and Luau bindings to Rust with async/await support

Created Nov 2019

rust rust-bindings lua luajit async
Total2,957
30 days +0
lilyball

Safe Rust bindings to Lua 5.1

Created Dec 2013

Total129
30 days +0

mruby

anima-engine

mruby safe bindings for Rust

Created Feb 2016

mruby ruby rust bridge
Total205
30 days +0

Node.js

neon-bindings

Rust bindings for writing safe and fast native Node.js modules.

Created Sep 2015

Total8,427
30 days +0
infinyon

Easy way to write Node.js module using Rust

Created Feb 2020

Total588
30 days +0
zhangyuang

Implement ffi in Node.js by Rust and NAPI

Created Jul 2023

ffi node-ffi napi nodejs-ffi rust
Total351
30 days +0

Objective-C

SSheldon

Objective-C Runtime bindings and wrapper for Rust.

Created Jun 2014

Total415
30 days +0

PHP

phper-framework

The framework that allows us to write PHP extensions using pure and safe Rust whenever possible.

Created Dec 2019

php binding extension rust
Total357
30 days +0

Prolog

mthom

A modern Prolog implementation written mostly in Rust.

Created Oct 2016

rust prolog prolog-interpreter prolog-implementation iso-prolog-standard
Total2,474
30 days +0

Python

RustPython

A Python Interpreter written in Rust

Created May 2018

rust python3 python-language jit interpreter
Total22,495
30 days +0
PyO3

Rust bindings for the Python interpreter

Created May 2017

rust python binding ffi python-c-api
Total16,338
30 days +0

Ruby

danielpclark

“The Tie Between Ruby and Rust.”

Created Jun 2018

Total1,010
30 days +0
d-unsed

Native Ruby extensions written in Rust

Created Dec 2015

native-ruby-extensions ruby rust mri ruru
Total834
30 days +0

Web Assembly

wasm-bindgen

Facilitating high-level interactions between Wasm modules and JavaScript

Created Dec 2017

wasm javascript rust binding-generator rust-wasm
Total9,230
30 days +0
wasm-bindgen

📦✨ your favorite rust -> wasm workflow tool!

Created Feb 2018

wasm rust-wasm registry cli rust
Total7,307
30 days +0

More

mozilla

a multi-language bindings generator for rust

Created Jun 2020

ffi-layer rust-crate
Total5,149
30 days +0
jni-rs

Rust bindings to the Java Native Interface — JNI

Created Nov 2016

jni rust java
Total1,610
30 days +0
chinedufn

swift-bridge facilitates Rust and Swift interop.

Created Nov 2021

rust swift ffi interop ios
Total1,155
30 days +0
getditto

Write safer FFI code in Rust without polluting it with unsafe code

Created May 2020

Total1,056
30 days +0
rust-diplomat

Rust tool for generating FFI definitions allowing many other languages to call Rust code

Created Jun 2021

Total935
30 days +0
matsadler

Ruby bindings for Rust. Write Ruby extension gems in Rust, or call Ruby from Rust.

Created May 2021

ffi ruby rust
Total922
30 days +0
boltffi

A high-performance multi-language bindings generator for Rust, up to 1,000x faster than UniFFI. Ship Rust libraries that feels native to Python, Swift, Kotlin, and more

Created Dec 2025

android bindings bindings-generator cross-platform ffi
Total921
30 days +0
mystor

Embed C++ directly inside your rust code!

Created Jun 2015

rust macros rust-cpp c-plus-plus ffi
Total860
30 days +0
extphprs

Bindings for the Zend API to build PHP extensions natively in Rust.

Created Mar 2021

hacktoberfest ffi php rust
Total853
30 days +0
Dushistov

Tool for connecting programs or libraries written in Rust with other languages

Created Oct 2016

java jni rust swig wrapper
Total810
30 days +0
astonbitecode

Java for Rust

Created Mar 2018

rust java jni
Total750
30 days +0
rodrimati1992

Rust-to-Rust ffi,ffi-safe equivalents of std types,and creating libraries loaded at startup.

Created Apr 2019

Total608
30 days +0
extendr

R extension library for rust designed to be familiar to R users.

Created Apr 2020

rust r extension api-wrapper ffi-bindings
Total531
30 days +0
Taaitaaiger

Julia bindings for Rust

Created Feb 2020

ffi julia rust
Total513
30 days +0
ralfbiedert

Productive, performant, robust interop for Rust🐙

Created Jun 2021

rust ffi csharp
Total504
30 days +0
hkalbasi

A C++/Rust interop tool

Created Aug 2023

Total486
30 days +0
ihciah

Call Between Golang and Rust Asynchronously

Created Apr 2024

Total439
30 days +0
ubolonton

Rust binding and tools for Emacs's dynamic modules

Created Dec 2017

rust emacs binding ffi emacs-modules
Total379
30 days +0
Brendonovich

Call Swift functions from Rust with ease!

Created Oct 2021

Total343
30 days +0
denoland

Write high-level Deno FFI libraries in Rust.

Created Aug 2021

rust deno ffi bindgen
Total321
30 days +0
oxidize-rb

Easily build Ruby native extensions in Rust

Created Dec 2021

native-extensions ruby ruby-extension rubygem rust
Total320
30 days +0
Bromeon

Securely embed JavaScript code into a Rust application

Created Sep 2020

Total301
30 days +0
zshipko

OCaml extensions in Rust

Created Feb 2018

ffi ocaml rust
Total296
30 days +0
duchess-rs

Silky smooth Java-Rust interop

Created Mar 2023

Total212
30 days +0
h33p

Rust ABI safe code generator

Created May 2021

Total191
30 days +0
KyleMayes

Rust bindings for libclang.

Created Dec 2015

rust
Total163
30 days +0
nvzqz

Bridging the gap between Swift and Rust

Created Sep 2019

rust swift ffi interop
Total158
30 days +0
tizoc

OCaml<->Rust FFI with an emphasis on safety.

Created Jul 2020

Total155
30 days +0
Hywan

Write and execute C code inside Rust.

Created Oct 2020

rust rust-library c
Total152
30 days +0
yutannihilation

A simple R extension interface using Rust

Created Feb 2023

Total129
30 days +0
shekohex

Run Multithreaded Rust along with Dart VM (in isolate) 🌀

Created Jun 2020

rust-lang dart flutter ffi
Total126
30 days +0
vanjacosic

A simple tutorial on how to call a C function from Rust 🦀

Created Oct 2022

c ffi rust rust-ffi rust-lang
Total125
30 days +0
sonos

Easier and safer interface between Rust, C, and other languages

Created Apr 2018

ffi rust
Total115
30 days +0
jerel

Membrane is an opinionated crate that generates a Dart package from a Rust library. Extremely fast performance with strict typing and zero copy returns over the FFI boundary via bincode.

Created Sep 2021

Total103
30 days +0
xberg-io

The polyglot binding generator behind the xberg.io ecosystem: language-native bindings, packages, docs and e2e tests from one alef.toml.

Created Mar 2026

bindgen c-ffi csharp elixir golang
Total101
30 days +0
GrayJack

Rust high level bindings for Janet

Created Jun 2020

rust rust-lang janet janet-lang library
Total101
30 days +0
napi-rs

High-level Node.js N-API bindings for Rust ✨🦀🚀✨— ⚠️Deprecated in favor of https://github.com/napi-rs/napi-rs ⚠️

Created Oct 2017

nodejs rust rust-bindings n-api napi
Total101
30 days +0
rethinkphp

A library to build PHP extensions in Rust.

Created Aug 2017

php php-extension rust
Total96
30 days +0
guile-rs

Safe Rust bindings for GNU Guile

Created Feb 2016

Total89
30 days +0
harmont-dev

Type-safe Haskell Rust Bindings

Created May 2026

haskell rust ffi bindgen binding-generator
Total86
30 days +0
FractalFir

Wrapper around mono library. Allows easy loading and interop between code written for the .NET framework and Rust.

Created Jul 2022

csharp dotnet fsharp mono rust
Total85
30 days +0
weavefoundry

Write your native library once. Ship it to 11 language ecosystems.

Created Oct 2025

Total84
30 days +0
bluejekyll

A java class file to Rust ffi binding generator

Created Jun 2022

Total81
30 days +0
m4b
m4b / raml

OCaml runtime and FFI bindings directly in Rust

Created May 2017

ocaml rust ffi-bindings
Total81
30 days +0
MaulingMonkey

Generate Rust JVM FFI wrappers around APIs defined by .jar or .class files, because maintaining your own hand-written bindings is an exercise in boredom, soundness bugs, and pain.

Created Aug 2019

rust jni android jvm
Total80
30 days +0
Sebekerga

Crate for simple implementation of Component for Native API 1C:Enterprise written in rust

Created Aug 2023

1c 1c-enterprise native-api rust
Total76
30 days +0
yvan-sraka

Handy macro to generate C-FFI bindings to Rust for Haskell

Created Oct 2022

Total71
30 days +0
stedolan

safe FFI between OCaml and Rust (experimental)

Created Mar 2018

Total68
30 days +0
Rantanen

Object based cross-language FFI for Rust

Created Oct 2017

Total64
30 days +0
distil

Automatic Rust and Lua glue code generation for seamless FFI interop

Created Dec 2017

Total58
30 days +0
holo-q

C ABI bindings for Ratatui (Rust TUI) — reusable from C, C#, etc.

Created Sep 2025

bindings c-abi ffi ratatui tui
Total56
30 days +0
extendr

Low level R bindgen interface

Created Apr 2020

Total56
30 days +0
google

Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers

Created Aug 2020 Archived

rust cxx bindgen
Total2,565
30 days +0
tildeio

Native Ruby extensions without fear

Created Nov 2015 Archived

rust ruby helix
Total1,988
30 days +0
mlua-rs

High level Lua bindings to Rust

Created May 2017 Archived

Total1,755
30 days +0
google

rustcxx: Using C++ from Rust made easy

Created Sep 2016 Archived

Total509
30 days +0
rusterlium

Low level bindings to Erlang NIF API for Rust

Created Apr 2015 Archived

rust erlang nif ffi
Total90
30 days +0
fitzgen

A tutorial/example crate for generating C/C++ bindings on-the-fly with libbindgen

Created Dec 2016 Archived

Total79
30 days +0
vickenty

High-level Rust bindings to Perl XS API

Created Jan 2016 Archived

Total62
30 days +0
WolframResearch

Safe, efficient, and ergonomic bindings to Wolfram LibraryLink and the Wolfram Language

Created Dec 2021 Archived

wolfram-language wolfram-librarylink rust rust-crate
Total61
30 days +0