4 releases (major breaking)

3.0.0 Nov 20, 2020
2.0.0 Jul 31, 2020
1.0.0 Apr 4, 2020
0.1.0 Feb 4, 2020

#919 in Development tools

Download history 232/week @ 2022-08-03 167/week @ 2022-08-10 127/week @ 2022-08-17 104/week @ 2022-08-24 163/week @ 2022-08-31 180/week @ 2022-09-07 291/week @ 2022-09-14 339/week @ 2022-09-21 412/week @ 2022-09-28 225/week @ 2022-10-05 252/week @ 2022-10-12 349/week @ 2022-10-19 128/week @ 2022-10-26 98/week @ 2022-11-02 89/week @ 2022-11-09 136/week @ 2022-11-16

526 downloads per month
Used in 2 crates

Apache-2.0

53KB
1.5K SLoC

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

No runtime deps