Low-level N-API bindings for Node.js addons written in Rust.
See the napi crate for the high-level API.
Requirements:
- Install bindgen (
cargo install bindgen
) and its requirements - Install rustfmt (
rustup component add rustfmt
) - Install node.js
After doing that, you can build a new version of the bindings like so:
./scripts/update-bindings.sh