Created empty napi-rs project and copied datastax driver.
There is no nested npm packages compared to setup v2 and instalation process is simpler.
In src/ is placed Rust code and in index.js are functions calling native functions. main.js is file set as main entry point in our npm package, so we can call autogenerated functions from index.js
Created empty
napi-rs
project and copied datastax driver. There is no nested npm packages compared to setup v2 and instalation process is simpler. Insrc/
is placed Rust code and inindex.js
are functions calling native functions.main.js
is file set as main entry point in our npm package, so we can call autogenerated functions fromindex.js