mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
1. inline everything 2. change `check_status` and `type_of` to macro 3. provide #[module_exports] macro 4. remove debug and repr[transparent] for ffi struct
napi-build
Build support for napi-rs
Setup N-API build in your build.rs:
extern crate napi_build;
fn main() {
napi_build::setup();
}