#javascript #javascript-engine #quickjs #api-bindings

sys qjs-sys

Native bindings to the QuickJS Javascript Engine

3 releases

0.1.2 Aug 27, 2019
0.1.1 Aug 16, 2019
0.1.0 Jul 26, 2019

#30 in #quickjs

27 downloads per month
Used in 2 crates (via qjs)

MIT license

770KB
3K SLoC

qjs travis Build status crate docs dependency status

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