63 releases (breaking)

0.54.0 Jul 30, 2024
0.52.0 Jul 10, 2024
0.50.0 Mar 8, 2024
0.47.0 Nov 20, 2023
0.15.0 Oct 19, 2020

#158 in #js

Download history 1/week @ 2024-06-20 77/week @ 2024-07-04 56/week @ 2024-07-11 102/week @ 2024-07-18 167/week @ 2024-07-25 23/week @ 2024-08-01 2/week @ 2024-08-08 1/week @ 2024-08-15 21/week @ 2024-09-12 93/week @ 2024-09-19 51/week @ 2024-09-26 2/week @ 2024-10-03

167 downloads per month
Used in jstime

Apache-2.0

20KB
437 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

~67MB
~1.5M SLoC