Commit graph

17 commits

Author SHA1 Message Date
LongYinan
1a3621b727
feat(napi): major upgrades for napi@1
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
2020-11-26 11:31:49 +08:00
LongYinan
fc0ec0b378
refactor(napi-sys): remove bindgen 2020-11-10 17:52:59 +08:00
LongYinan
64d66a2261
chore: tokio@0.3 2020-10-16 20:58:56 +08:00
LongYinan
276fc45603
style: format toml files 2020-10-11 21:36:14 +08:00
LongYinan
371cc5eab0
feat(napi): string latin1 support 2020-09-03 19:11:30 +08:00
LongYinan
ea3fff25ae
feat(napi): serde-json feature 2020-09-01 23:48:02 +08:00
LongYinan
244db37c3b
refactor: decouple sys module of new napi-rs into a crate 2020-07-15 00:59:41 +08:00
LongYinan
9118e9e62d
feat(napi): implment tokio_rt feature 2020-07-14 22:58:05 +08:00
LongYinan
f4a331cfe2
feat(napi): provide execute function to run Future on libuv 2020-07-07 11:57:32 +08:00
Ouyang Yadong
f126a0581f feat(napi): impl threadsafe function api 2020-06-28 22:47:08 +08:00
LongYinan
28257b45c1
feat(napi): support musl linux
drop future executor due to mutithreads bug.
2020-06-11 16:20:37 +08:00
LongYinan
67ac49a7d7
chore: rename napi-derive to napi-rs-derive 2020-04-26 20:21:45 +08:00
LongYinan
0b2561225f
feat(derive): js_function derive 2020-04-26 16:36:44 +08:00
LongYinan
fa8e1be7b9
refactor(napi-rs): make api calls more safety 2020-04-19 18:52:32 +08:00
LongYinan
e0e85502af
feat: upgrade to std-future 2020-02-18 21:09:17 +08:00
LongYinan
cbf5b42d61
build: use cargo to build napi-rs instead of napi.js 2018-06-26 16:31:42 +08:00
LongYinan
c05ab719b3
init 2018-04-28 16:26:38 +08:00