Rust functions in Node.js
Calling any Rust function from Node.js JavaScript code
This page is outdated. Please visit here to see how to call any Rust functions from Node.js JavaSrcipt code.
WebAssembly program in Rust
[lib]
name = "json_io_lib"
path = "src/lib.rs"
crate-type =["cdylib"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
wasm-bindgen = "=0.2.61"The Node.js host application
What’s next?
Last updated
Was this helpful?