nj-sys

Crates.ionj-sys
lib.rsnj-sys
version4.0.0
sourcesrc
created_at2020-02-04 04:48:29.270428
updated_at2023-09-27 15:14:52.781723
descriptionlow level binding to Node N-API
homepage
repositoryhttps://github.com/infinyon/node-bindgen
max_upload_size
id204724
size215,682
fluvio-publisher (github:infinyon:fluvio-publisher)

documentation

README

Low level bindings to Nodejs N-API.

Rust wrapper for NodeJs N-API

The code is check-in in order to avoid dependency to LLVM.

Manual re-generation of binding.rs

Prerequisite

This requires LLVM.

Code generation has been tested with LLVM 9 or greater. Older version may work but not guaranteed.

Generation

Run following shell command:

make generate

Which performs following:

  • Install required bindgen execution version
  • Generate src/binding.rs using bindgen binary
Commit count: 187

cargo fmt