Registry / other / js-ffi

js-ffi

JSON →
library0.8.0rscratesunverified

A FFI library for calling JavaScript from Rust.

# Cargo.toml [dependencies] js_ffi = "0.8.0"
INSTALL
IMPORT
SIG · JS-FFI
J
js-ffi
otherrustv0.8.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.

js_ffi
use js_ffi::js_ffi;

Shows importing the js_ffi macro from js_ffi.

use js_ffi::js_ffi; fn main() { // Call JavaScript functions from Rust println!("JS FFI ready"); }
Debug
Known issues
gotchaRequires a JavaScript runtime environment (e.g., Node.js or browser) to function.
fix
Ensure your application runs in a context with JavaScript support.
affects: >=0.8.0
Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
js-ffi — cargo add js-ffi · libregistry