Commit graph

26 commits

Author SHA1 Message Date
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
LongYinan
9db4581d7f
feat: bump msrv to 1.65 (#1755) 2023-10-17 20:18:29 +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
LongYinan
07d03c9435
chore: MSRV 1.63.0 2023-08-10 10:44:55 +08:00
renovate[bot]
77f53a8cc9
fix(deps): update rust crate libloading to 0.8 (#1563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-15 06:40:31 +00: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
c51d657224
Release independent packages
- napi@2.10.9
- napi-sys@2.2.3
2023-01-19 17:30:12 +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
messense
5cbeac59dc
Add rust-version field to Cargo.tomls (#1190) 2022-05-20 16:23:10 +08:00
LongYinan
fb8d8b97d6
Release independent packages
napi@2.4.2
napi-derive@2.4.2
napi-sys@2.2.2
2022-05-10 22:32:06 +08:00
LongYinan
788a962137
fix(napi): drop all thread_local! usage 2022-05-10 18:39:36 +08:00
LongYinan
79d7453713
Release independent packages 2022-05-07 20:23:01 +08:00
LongYinan
e551bd7c1a
fix(napi): load Node-API symbols manually on Windows 2022-05-07 18:54:37 +08:00
LongYinan
daf5f1f9e9
Release independent packages
- napi@2.4.0
- napi-derive@2.4.0
- napi-sys@2.2.0
- napi-build@2.0.0
2022-05-07 15:51:22 +08:00
LongYinan
1bf072ad7d
refactor(napi): use libloading on Windows 2022-05-06 22:27:09 +08:00
LongYinan
e452c00fb4
feat: edition 2021 2021-12-08 13:18:47 +08:00
LongYinan
24c5d6950e
Release independent packages
napi@2.0.0-beta.0
napi-sys@2.1.0
napi-derive@2.0.0-beta.0
napi-build@1.2.0
napi-derive-backend@1.0.12
2021-12-02 14:35:57 +08:00
Idan Attias
a5ba40ceda
feat(napi): enable node_api syntax error experimental functions 2021-12-02 13:59:27 +08:00
LongYinan
d410f6e903
Release independent packages
napi-sys@2.0.0
napi@2.0.0-alpha.8
2021-11-30 00:18:22 +08:00
LongYinan
a7067d6732
feat(sys): remove rust enum in sys 2021-11-29 12:52:42 +08:00
LongYinan
50e08b6033
Release independent packages
napi@2.0.0-alpha.1
napi-build@1.1.1
napi-derive@2.0.0-alpha.1
napi-derive-backend@1.0.2
napi-sys@1.1.2

Generated by cargo-workspaces
2021-10-31 23:37:05 +08:00
LongYinan
157b9c6186
chore: make all crates indepent 2021-10-31 23:35:39 +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