| Crates.io | qjs |
| lib.rs | qjs |
| version | 0.1.2 |
| created_at | 2019-07-26 11:10:46.81546+00 |
| updated_at | 2019-08-27 07:27:06.600007+00 |
| description | Rust binding for the QuickJS Javascript Engine |
| homepage | |
| repository | https://github.com/flier/rust-quickjs |
| max_upload_size | |
| id | 151764 |
| size | 186,441 |
qjs is an experimental Rust binding for the QuickJS Javascript Engine
To use qjs in your project, add the following to your Cargo.toml:
[dependencies]
qjs = "0.1"
let v: Option<i32> = qjs::eval("1+2").unwrap();
assert_eq!(v, Some(3));