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
Download history 27/week @ 2021-02-25 20/week @ 2021-03-04 52/week @ 2021-03-11 30/week @ 2021-03-18 150/week @ 2021-03-25 199/week @ 2021-04-01 103/week @ 2021-04-08 112/week @ 2021-04-15 50/week @ 2021-04-22 66/week @ 2021-04-29 85/week @ 2021-05-06 75/week @ 2021-05-13 76/week @ 2021-05-20 90/week @ 2021-05-27 134/week @ 2021-06-03 196/week @ 2021-06-10

328 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