Python
Java
JavaScript
Android
Golang
C/C++
Swift
PHP
Node.js
Ruby
.NET
More
React
Linux
Rust
Vue.js
Flutter
Command-line
Network programming
Database
Applications
IDEs
More...
Home
/
Rust
/
Foreign Function Interface
Foreign Function Interface
The Rust FFI Omnibus (a collection of examples of using code written in Rust from other languages)
Search
Newest releases
Newest releases
Most popular
Foreign Function Int
3
Rust FFI bindings for StarkWare's crypto-cpp library
starkware-crypto-rs Rust FFI bindings for StarkWare's crypto-cpp library There's currently an issue on the official crypto-cpp repository that prevent
Foreign Function Int
5
Base Garry's Mod binary module (Rust)
gmod-module-base-rs A base for developing Garry's Mod binary modules in Rust. Getting Started Install Rust Download or git clone this repository Open
Foreign Function Int
6
Call Rust from R for geo data
georustr This is a minimal R package to test calling Rust code from R. Rebuild it with: rextendr::document() #> ℹ Generating extendr wrapper functions
Foreign Function Int
36
Call Rust from Swift and vice versa.
swift-bridge Call Rust from Swift and vice versa. swift-bridge generates code that helps you call Rust from Swift and vice versa. swift-bridge takes i
Foreign Function Int
3
Rust module for communicating with the Veryfi OCR API
https://docs.rs/veryfi/1.0.0/veryfi/ Veryfi is a Rust module for communicating with the Veryfi OCR API Installation Add to your cargo.tml veryfi = "1.
Foreign Function Int
8
A prototype project integrating jni rust into Kotlin and using protobuf to make them work ...
KotlinRustProto a prototype project integrating jni rust into Kotlin and using protobuf to make them work together How to start add a RPC call in Droi
Foreign Function Int
7
Rust FFI bindings for libsixel
sixel-sys: Rust FFI bindings for libsixel The sixel-sys crate provides delcarations and linkage for the libsixel C library. This crate does not provid
Foreign Function Int
23
Demonstration of flexible function calls in Rust with function overloading and optional ar...
Table of Contents Table of Contents flexible-fn-rs What is this trying to demo? How is the code structured? Named/Unnamed and Optional arguments Mecha
Foreign Function Int
12
An UEFI application that unlocks a SED and starts an OS from it. Written in Rust
opal-uefi-greeter This is an UEFI application written in Rust that unlocks a SED and then launches another UEFI application from the unlocked drive -
Foreign Function Int
3
The cat linux program write in Rust. (PT-BR Language)
catrs The cat linux program write in Rust. (PT-BR Language) Get the binary (cargo build --release and get ./release/catrs, or just rustc main.rs.) and
Foreign Function Int
9
List of Persian Colors and hex colors for CSS, SCSS, PHP, JS, Python, and Ruby.
Persian Colors (Iranian colors) List of Persian Colors and hex colors for CSS, SCSS, PHP, C++, QML, JS, Python, Ruby and CSharp. Persian colors Name H
Foreign Function Int
139
Proof of concept: iOS app written in pure Rust
Proof of concept: iOS app written in pure Rust To Run Install cargo bundle Install cargo make Start an iOS simulator cargo make run_ios_sim The heavy
Foreign Function Int
10
Tweak a Rust value directly in the source code
Inline tweak Inline tweaks is based on this blogpost by tuxedo labs. Tweak any number literal directly from your code, changes to the source appear wh
Foreign Function Int
14
An FFI-friendly null-terminated byte string
unixstring UnixString is an FFI-friendly null-terminated byte string that may be constructed from a String, a CString, a PathBuf, an OsString or a col
Foreign Function Int
297
Vue's template compiler reimplemented in Rust!
Vue's template compiler reimplemented in Rust!
Foreign Function Int
40
Source code from Atlas, our 64k demo presented at Revision 2019 with Macau Exports
Atlas source code dump This is a dump of the source code for the engine, graphics tool and player for Atlas, our 64k demo released with Macau Exports
Foreign Function Int
78
Shellcode Runner/Injector in Rust using NTDLL functions directly with the ntapi Library
RustSCRunner Shellcode Runner/Injector in Rust using NTDLL functions directly with the ntapi Library. Surprisingly this is my first ever Rust project
Foreign Function Int
51
Safe collections written in stable Rust, based on GhostCell and StaticRc.
A proof of concept implementation of cyclic data structures in stable, safe, Rust. This demonstrates the combined power of the static-rc crate and the
Foreign Function Int
207
Vue's template compiler reimplemented in Rust!
Vue's template compiler reimplemented in Rust!
Foreign Function Int
11
Cross platform and stable bindings to SDL2
Cross platform and stable bindings to SDL2
Foreign Function Int
28
js-sandbox is a Rust library for executing JavaScript code from Rust in a secure sandbox.
js-sandbox is a Rust library for executing JavaScript code from Rust in a secure sandbox. It is based on the Deno project and uses serde_json for serialization.
Foreign Function Int
15
Documentation generator for Deno
A Rust crate to generate documentation for JavaScript and TypeScript modules.
Foreign Function Int
13
Using a Rust lib in a PHP FFI test
Using a Rust lib in a PHP FFI test
Foreign Function Int
904
nightly numpy - Rust binding of NumPy C-API
rust-numpy Rust bindings for the NumPy C-API API documentation Latest release (possibly broken) Current Master Requirements current nightly rust (see
Foreign Function Int
190
rusty-cheddar - A library to automatically generate C header files from Rust source files
Please be aware that this crate is no longer actively maintained, please look into the much more feature rich cbindgen instead. rusty-cheddar rusty-ch
Foreign Function Int
153
macro adorn - A plugin to provide python-style decorators in Rust
rust-adorn Python-style function decorators for Rust Example usage: use adorn::{adorn, make_decorator}; #[adorn(bar)] fn foo(a: &mut u8, b: &mut u8,
Foreign Function Int
903
px8 - Open source fantasy console in Rust
Unicorn Console Unicorn Console is a quick and dirty engine that let you do what you want with a resolution of 400x240 pixels. The main engine is not
Foreign Function Int
30
sys rucaja - Rust Calls Java - via JNI
Rucaja (Rust calls Java) Calling JVM code from Rust via JNI. Usage JNI calls are about 10-20 times slower than regular JVM instructions. It is adviced
Foreign Function Int
87
macro dict_derive - Derive macros for some PyO3 traits to convert python dicts into rust s...
Dict-Derive Derive macro for PyO3's FromPyObject and IntoPy<PyObject> traits. The derived implementation turns a Python's dict into your Rust struct a
Foreign Function Int
19
va_list - Provides a rust implementation of the ‘va_list’ type for a small set of ABIs. Al...
Rust implementation of C's va_list type Overview This crate provides a rust VaListtype, which is binary-compatible for the C va_list type. It is inten
Foreign Function Int
19
mbox - malloc-based box. Supports wrapping pointers or null-terminated strings returned fr...
mbox: malloc-based box This crate provides structures that wrap pointers returned from malloc as a Box, and automatically free them on drop. These typ
Foreign Function Int
32
sys dart-sys - Bindings to the dart native extensions api
dart-sys Native bindings to the dart native extensions sdk. This crate exposes an api for dart_api.h, which exposes the basic dart native extensions a
1
2
3
Categories
Rust
3378
Encoding JSON
43
Applications
36
Asynchronous
112
Audio and Music
58
Authentication
31
Automotive
12
Build system
43
Caching
32
Cargo plugins
46
Command-line
418
Compression
22
Computation
18
Concurrency
70
Configuration
28
Cryptocurrencies
96
Cryptography
130
Data processing
14
Data structures
182
Data visualization
16
Database
74
Database interfaces
35
Date and time
17
Debugging
55
Deployment
69
Development tools
27
Distributed systems
14
Email
20
Embedded
4
Embedded development
90
Emulators
29
Encoding Binary
4
Encoding Multimedia
3
Encoding XML
10
Encoding YAML
8
Filesystem
91
Foreign Function Interface
101
Game development
106
Games
62
Genetic algorithms
12
Geospatial
3
Graphics
71
GUI
167
HTTP Client
52
IDEs
32
Image processing
101
Industrial automation
3
Logging
11
Machine learning
68
macOS APIs
10
Math
46
Memory management
40
Miscellaneous
162
Mobile
4
Network programming
133
No standard library
34
Observability
2
Operating systems
21
Parsing
75
Platform specific
12
Procedural macros
40
Productivity
2
Profiling
28
Resources
13
Science
44
Scripting
17
Security tools
57
Simulation
1
Static Site Generators
20
System tools
54
Template engine
65
Testing
83
Text editors
40
Text processing
69
Text search
21
Unix APIs
33
Utilities
439
Value formatting
9
Video
27
Virtualization
34
Web programming
82
Web Servers
83
WebAssembly
21
WebSocket
17
Windows APIs
18
Most popular
More
01
nightly pyo3 - Bindings to Python interpreter
02
PyO3 — Rust bindings for the Python interpreter
03
Rust bindings for writing safe and fast native Node.js modules.
04
wasm-bindgen — A project for facilitating high-level interactions between wasm modules and...
05
📦✨ your favorite rust -> wasm workflow tool!
06
wasm-pack — 📦 ✨ pack up the wasm and publish it to npm!
07
cxx — Safe interop between Rust and C++
08
rustler — safe Rust bridge for creating Erlang NIF functions
09
rust-bindgen — A Rust bindings generator
10
rust-bindgen dtolnayC++ rust-lang/rust-bindgen — A Rust bindings generator dtolnay/cxx — S...