Kalleby Santos
Embedding Deno in a Rust App to evaluate dynamic javascript/typescript inputs/files?
You can also use the
v8
crate direct to evaluate Js code directly from rust and combine it with the serde_v8
crate to I/O between rust and Js. All of this packages are re-exported by the deno_core
crate as well the deno_runtime
10 replies
Embedding Deno in a Rust App to evaluate dynamic javascript/typescript inputs/files?
You can use the
deno_runtime
crate instead of raw deno_core
it comes with standard Deno ops
like: like fetch, Deno apis etc... you still need to hand craft the Typescript parser and the external import system like npm
, esm
etc... but its a good start point since already impl a loot of Js apis10 replies