jstime Core Crate
The main dependency of this crate is rusty_v8 which provides the V8-Rust bindings.
API
use jstime_core as jstime;
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");
}