Back to skills
SKILL.md
Rust Core Ffi
ASecurityUse when generating cross-language FFI bindings for Rust.
- 2 stars
- 0 votes
- 0 copies
- 1 view
- Added September 10, 2026
Security analysis
100/100npx -y skills add LoopyLuci/Skills --skill rust-core-ffi --agent claude-codeAre you the author of Rust Core Ffi?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-rust-core-ffi)---
name: rust-core-ffi
title: Rust Core FFI
description: Use when generating cross-language FFI bindings for Rust.
category: networking
tags: [ffi, rust, bindings, uniffi, cross-language, cbindgen]
---
# Rust Core FFI
**Trigger**: Use when generating cross-language FFI bindings for the Rust core engine.
**Libraries**: `uniffi` (Mozilla's cross-language bindings), `cbindgen` (C headers), `jni` (Java/Kotlin)
**Implementation**: UniFFI for Python/Swift/Kotlin bindings from Rust. Define UDL (UniFFI Definition Language) file for exported interface. Generate Python `.so`/`.dylib`, Swift `.a`, Kotlin `.so`. `cbindgen` for C-compatible headers. Thread-safe exports via `Arc<RwLock<>>` pattern. Async Rust exports via UniFFI proc-macro. Memory management: Rust owns, borrows to caller.
**Connected**: `python-orchestrator`, `ios-vpn-adblocker`, `android-vpn-adblocker`, `svelte-web-dashboard`, `clojure-rule-engine`, `service-orchestrator`
Attribution
Comments
Loading comments…