Registry / other / javascriptcore-rs

javascriptcore-rs

JSON →
library1.1.2rscratesunverified

Rust bindings for the JavaScriptCore library, enabling JavaScript execution.

# Cargo.toml [dependencies] javascriptcore-rs = "1.1.2"
INSTALL
IMPORT
SIG · JAVASCRIPTCORE-RS
J
javascriptcore-rs
otherrustv1.1.2
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.

JSContext
use javascriptcore_rs::JSContext;

Evaluate a simple JavaScript expression.

use javascriptcore_rs::JSContext; fn main() { let ctx = JSContext::default(); let result = ctx.evaluate_script("1 + 2"); println!("{:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
javascriptcore-rs — cargo add javascriptcore-rs · libregistry