Registry / other / rquickjs

rquickjs

JSON →
library0.11.0rscratesunverified

High level bindings to the QuickJS JavaScript engine, allowing embedding JS in Rust.

# Cargo.toml [dependencies] rquickjs = "0.11.0"
INSTALL
IMPORT
SIG · RQUICKJS
R
rquickjs
otherrustv0.11.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.

Context
use rquickjs::Context;

Evaluates a JavaScript expression and prints the result.

use rquickjs::Context; fn main() { let ctx = Context::builder().build().unwrap(); ctx.with(|ctx| { let result: String = ctx.eval("'Hello, ' + 'world!'").unwrap(); println!("{}", result); }); }
Debug
Known issues
gotchaRequires feature flags for async or module support.
fix
Enable features like 'async' or 'modules' in Cargo.toml if needed.
affects: >=0.11.0
Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
rquickjs — cargo add rquickjs · libregistry