1 unstable release
0.1.1 | Aug 16, 2019 |
---|
#38 in #quickjs
Used in 2 crates
(via qjs)
21KB
512 lines
qjs
qjs
is an experimental Rust binding for the QuickJS Javascript Engine
Usage
To use qjs
in your project, add the following to your Cargo.toml:
[dependencies]
qjs = "0.1"
Example
let v: Option<i32> = qjs::eval("1+2").unwrap();
assert_eq!(v, Some(3));
Dependencies
~2.5–9.5MB
~94K SLoC