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
e99aba0a57
ci: upgrade to actions/cache@v2
2021-07-30 13:20:40 +08:00
LongYinan
66088642ee
chore: rename branch master => main
2020-12-03 16:30:14 +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
96f3a45709
ci: remove useless restore key
2020-11-30 22:14:05 +08:00
LongYinan
93fbdf0e54
ci: remove legacy add path command
2020-11-18 11:42:38 +08:00
LongYinan
fc0ec0b378
refactor(napi-sys): remove bindgen
2020-11-10 17:52:59 +08:00
LongYinan
3c3a5b6fdb
ci: reduce aarch64 running time by cross compile in host machine
2020-10-15 16:14:11 +08:00
LongYinan
5a49efe25e
feat: support linux aarch64
2020-10-15 09:12:43 +08:00
LongYinan
24919d72be
ci: write ava.config for ava@2
2020-10-14 11:44:37 +08:00
LongYinan
2d099f7d1f
ci: use node@10.2.0 instead of node@10.0.0 to run napi3 tests
2020-10-04 16:07:36 +08:00
LongYinan
e68778428e
feat: powerful cli
2020-09-04 17:11:23 +08:00
LongYinan
0bfacc536a
ci: exclude commits from own repo
2020-08-17 22:36:09 +08:00
LongYinan
e34b3dc5c2
ci: upgrade pipeline
2020-07-29 23:06:49 +08:00
LongYinan
244db37c3b
refactor: decouple sys module of new napi-rs into a crate
2020-07-15 00:59:41 +08:00
LongYinan
f4a331cfe2
feat(napi): provide execute function to run Future on libuv
2020-07-07 11:57:32 +08:00