qjs

Crates.ioqjs
lib.rsqjs
version0.1.2
sourcesrc
created_at2019-07-26 11:10:46.81546
updated_at2019-08-27 07:27:06.600007
descriptionRust binding for the QuickJS Javascript Engine
homepage
repositoryhttps://github.com/flier/rust-quickjs
max_upload_size
id151764
size186,441
Flier Lu (flier)

documentation

README

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));
Commit count: 99

cargo fmt