59 releases (38 breaking)

0.50.0 Mar 8, 2024
0.48.0 Jan 8, 2024
0.47.0 Nov 20, 2023
0.46.0 Sep 22, 2022
0.15.0 Oct 19, 2020

#1396 in Asynchronous

Download history 11/week @ 2024-01-05 3/week @ 2024-01-12 20/week @ 2024-02-09 15/week @ 2024-02-16 21/week @ 2024-02-23 17/week @ 2024-03-01 168/week @ 2024-03-08 10/week @ 2024-03-15 142/week @ 2024-03-29 12/week @ 2024-04-05

154 downloads per month
Used in jstime

Apache-2.0

19KB
436 lines

jstime Core Crate

The main dependency of this crate is rusty_v8 which provides the V8-Rust bindings.

API

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");
}

Dependencies

~74MB
~1.5M SLoC