Registry / build-tool / interoptopus

interoptopus

JSON โ†’
library0.16.0rscratesunverified

The polyglot bindings generator for your library (C#, C, Python, ...). ๐Ÿ™

# Cargo.toml [dependencies] interoptopus = "0.16.0"
INSTALL
IMPORT
SIG ยท INTEROPTOPUS
I
interoptopus
build-toolrustv0.16.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths โ€” ran on the pinned version, not inferred.

ffi_function
โœ“ use interoptopus::ffi_function;

Define an FFI function for binding generation.

use interoptopus::ffi_function; #[ffi_function] fn add(a: i32, b: i32) -> i32 { a + b } fn main() { println!("FFI function defined"); }
Debug
Known issues
gotchaRequires careful handling of C-compatible types.
fix
Use only types that implement the required traits (e.g., CRepr).
affects: >=0.10.0
Upgrade
Version history
0.16.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits ยท last 30 days
node
12
OpenAI (training)
1
Resources
interoptopus โ€” cargo add interoptopus ยท libregistry