Crates.io | jstime_core |
lib.rs | jstime_core |
version | 0.54.0 |
source | src |
created_at | 2020-08-26 04:07:42.620577 |
updated_at | 2024-07-30 03:13:12.151863 |
description | Another JS Runtime |
homepage | |
repository | https://github.com/jstime/jstime |
max_upload_size | |
id | 280848 |
size | 22,848 |
The main dependency of this crate is rusty_v8 which provides the V8-Rust bindings.
use jstime_core as jstime;
fn main() {
jstime::init(None);
let mut scope = jstime::JSTime::new(
jstime::Options::default()
);
scope.run_script("console.log('Hello, World!');", "jstime")
.expect("ruhroh something went wrong");
}