|0.69.0||Nov 23, 2020|
|0.67.0||Nov 9, 2020|
|0.51.0||Jul 31, 2020|
|0.38.0||Mar 28, 2020|
|0.0.1||Sep 13, 2019|
#19 in Web programming
5,303 downloads per month
Used in less than 10 crates
The main dependency of this crate is rusty_v8, which provides the V8-Rust bindings.
The JsRuntime implements an event loop abstraction for the executed code that
keeps track of all pending tasks (async ops, dynamic module loads). It is user's
responsibility to drive that loop by using
JsRuntime::run_event_loop method -
it must be executed in the context of Rust's future executor (eg. tokio, smol).
function to trigger the "dispatch" callback in Rust. The user is responsible for
encoding both the request and response into a Uint8Array.
TypeScript support and a lot of other functionality is not available at this layer. See the CLI for that.