LongYinan
1e5c32ca60
style(napi): fix compile warning ( #1785 )
2023-11-06 11:21:26 +08:00
LongYinan
2b0ddf4a21
feat(napi,sys): sync to napi9 ( #1781 )
...
- Close https://github.com/napi-rs/napi-rs/issues/1600
2023-11-06 11:00:27 +08:00
LongYinan
cec062bd4b
fix(napi-sys): missing napi9 load on Windows ( #1780 )
2023-11-06 10:59:28 +08:00
Tom Sherman
3418fd3e8f
feat(napi,sys): implement Symbol.for ( #1721 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-09-13 15:45:14 -07:00
Markus
86cfbca33e
feat(napi): expose uv_run ( #1499 )
...
Signed-off-by: MarkusJx <28785953+MarkusJx@users.noreply.github.com>
2023-02-27 17:31:03 +08:00
LongYinan
fda0aa0eec
fix(napi): fallback to copy buffer if zero copy is not allowed ( #1445 )
2023-01-19 17:26:59 +08:00
LongYinan
a9f9dbb232
chore(napi): reduce Mutex usage while loading addon
2022-12-16 13:41:16 +08:00
LongYinan
788a962137
fix(napi): drop all thread_local! usage
2022-05-10 18:39:36 +08:00
LongYinan
e551bd7c1a
fix(napi): load Node-API symbols manually on Windows
2022-05-07 18:54:37 +08:00
LongYinan
1bf072ad7d
refactor(napi): use libloading on Windows
2022-05-06 22:27:09 +08:00
Idan Attias
a5ba40ceda
feat(napi): enable node_api syntax error experimental functions
2021-12-02 13:59:27 +08:00
LongYinan
a7067d6732
feat(sys): remove rust enum in sys
2021-11-29 12:52:42 +08:00
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