LongYinan
7f0507097d
docs: add discord badge
2021-08-09 22:18:48 +08:00
LongYinan
9dd758526d
napi-derive@1.1.0
2021-04-01 21:08:53 +08:00
LongYinan
d4331e05df
refactor(napi): split NapiRaw trait from NapiValue
2021-04-01 18:57:49 +08:00
LongYinan
81af1674a8
napi-derive@1.0.1
2021-03-22 13:38:42 +08:00
Daniel Henry-Mantilla
4aba159958
Add a way to convert _stateful_ (Rust) closures into JsFunction
s.
2021-03-18 21:09:55 +01:00
Kirill Fomichev
5527451b8d
Remove deprecated register_module
from example in README.md
2021-03-14 11:17:19 +03:00
LongYinan
e02bda46c1
1.0.0
2020-12-30 00:56:08 +08:00
LongYinan
94e0ac548c
1.0.0-alpha.0
2020-12-02 23:45:27 +08:00
LongYinan
5ffb14729d
refactor(napi): js error
2020-12-02 14:56:19 +08:00
LongYinan
c184ab3926
ci: add cargo clippy
2020-12-01 14:58:00 +08:00
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
c370b8374b
fix(napi): CString memory leak
2020-11-20 10:53:33 +08:00
LongYinan
781ff8dc14
refactor(napi): make NapiTrait to be unsafe
...
close https://github.com/napi-rs/napi-rs/issues/299
2020-11-20 00:07:20 +08:00
LongYinan
2d47969d08
fix(napi): CString issues
2020-11-19 23:41:29 +08:00
LongYinan
47f5011a8f
feat(napi): support build on i686-pc-windows-msvc
2020-11-04 23:08:54 +08:00
LongYinan
6ba674e4bc
feat(napi): new JsFunction instance
2020-10-27 14:19:40 +08:00
LongYinan
276fc45603
style: format toml files
2020-10-11 21:36:14 +08:00
LongYinan
9c921ffaa3
refactor(napi): scope and Ref
2020-09-30 15:54:54 +08:00
LongYinan
fb4d07edd4
feat: add benchmark crate and frameworks
2020-09-30 15:31:17 +08:00
LongYinan
c0277542a2
refactor(napi): from_raw_unchecked and this_unchecked
2020-09-26 17:49:30 +08:00
LongYinan
8440c6893a
chore(release): publish
2020-09-07 17:44:31 +08:00
LongYinan
df5b082141
perf(napi): remove typecheck in CallContext for better performance
2020-09-07 17:26:28 +08:00
LongYinan
1219f3b172
chore(release): publish
...
- napi@0.5.0
- napi-derive@0.5.0
2020-09-03 20:39:29 +08:00
LongYinan
76d1258592
feat(napi): implement all object functions
2020-09-03 00:02:41 +08:00
LongYinan
cab9234e6b
chore(release): publish
...
- napi-derive@0.4.2
2020-07-20 18:56:29 +08:00
messense
e7a8cbf26b
Rename napi_rs to napi
2020-07-19 17:29:47 +08:00
messense
efa9ba5892
Throw exception when Rust code panics
2020-07-19 16:54:10 +08:00
LongYinan
8497479c7a
chore(release): publish
...
- napi@0.4.2
- napi-derive@0.4.1
2020-07-18 11:05:20 +08:00
LongYinan
3508956d16
feat(napi): implement either type
2020-07-18 02:11:49 +08:00
LongYinan
6489c11185
doc: update git repo url
2020-07-15 01:23:23 +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
0216c55e54
refactor(napi): redesign the JavaScript values API
2020-06-28 23:29:04 +08:00
LongYinan
628452c70a
perf(napi-derive): remove useless alloc in function CallContext
2020-06-21 17:50:38 +08:00
LongYinan
37e64c4960
chore(release): napi-rs@0.3, napi-rs-derive@0.2
2020-05-09 15:34:55 +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
b720271009
doc: fix description in napi-derive
2020-04-26 20:15:08 +08:00
LongYinan
81adb5ceab
chore: version patch
2020-04-26 19:57:31 +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