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
276fc45603
style: format toml files
2020-10-11 21:36:14 +08:00
LongYinan
244db37c3b
refactor: decouple sys module of new napi-rs into a crate
2020-07-15 00:59:41 +08:00
LongYinan
0216c55e54
refactor(napi): redesign the JavaScript values API
2020-06-28 23:29:04 +08:00
LongYinan
91cca630a9
perf: borrow Env in CallContext
2020-05-09 15:14:44 +08:00
LongYinan
1a280aa30f
refactor(napi): async and lifetime span
2020-05-09 14:13:25 +08:00
LongYinan
f751ea3b2a
chore: remove lifetime param in example
2020-05-02 00:21:38 +08:00
LongYinan
86c166eece
doc: fix example
2020-04-27 10:35:48 +08:00
LongYinan
67ac49a7d7
chore: rename napi-derive to napi-rs-derive
2020-04-26 20:21:45 +08:00
LongYinan
4c0341961c
refactor(napi-rs): impl TryFrom instead of TryInto
2020-04-26 18:46:56 +08:00
LongYinan
0f28cc7bdf
doc: add napi-derive example and document
2020-04-26 16:58:11 +08:00
LongYinan
0b2561225f
feat(derive): js_function derive
2020-04-26 16:36:44 +08:00