I appreciate the napi-rs auto-installer but I am interested in setting up a napi-rs project manually (I'm weird like that). I'd like to use my own build scripts, workspace setup, omit code-gen, package manager selection, etc. I essentially want a minimal napi-rs project that only produces a .node file if possible.
In the past I have used Neon because of its unopinionated project integration but I find the napi-rs bindings to be very ergonomic and prefer to use them if possible.
I tried to deconstruct & bring over the project files produced by napi new - but the napi-rs CLI obfuscates the native module build steps (napi build) so I didn't get too far.
Are there instructions on setting up a project by hand?
Hi all, thanks for creating this project!
I appreciate the napi-rs auto-installer but I am interested in setting up a napi-rs project manually (I'm weird like that). I'd like to use my own build scripts, workspace setup, omit code-gen, package manager selection, etc. I essentially want a minimal napi-rs project that only produces a
.node
file if possible.In the past I have used Neon because of its unopinionated project integration but I find the napi-rs bindings to be very ergonomic and prefer to use them if possible.
I tried to deconstruct & bring over the project files produced by
napi new
- but the napi-rs CLI obfuscates the native module build steps (napi build
) so I didn't get too far.Are there instructions on setting up a project by hand?