Commit graph

7 commits

Author SHA1 Message Date
forehalo
2467b7139b
Introduce #[napi] procedural macro to automation development boilerplate (#696)
* napi procedural macro for basic rust/JavaScript types
* introduce the `compat-mode` for `napi` and `napi-derive` crates for backward compatible
* remove #[inline] and let compiler to decide the inline behavior
* cli now can produce the `.d.ts` file for native binding
* many tests and example for the new procedural macro

Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-09-23 01:29:09 +08:00
LongYinan
7767b83222
refactor(cli): init yarn workspace, move napi-rs package => @napi-rs/cli 2020-12-02 22:34:39 +08:00
LongYinan
5a49efe25e
feat: support linux aarch64 2020-10-15 09:12:43 +08:00
LongYinan
283a4aaab9
feat: support freebsd in napi build command 2020-10-14 09:37:10 +08:00
LongYinan
b651be1bec
ci: pass tests on the freebsd platform 2020-10-13 22:58:42 +08:00
LongYinan
7992260eec
chore: upgrade deps 2020-09-22 00:19:26 +08:00
LongYinan
a3c191f8d4
chore: use ava.config.js to split ava config for node@lts/node@10 2020-08-24 18:02:36 +08:00