Commit graph

23 commits

Author SHA1 Message Date
LongYinan
869ed76c0b
feat(napi): impl spawn for tasks need to be run in the other thread 2020-05-11 16:32:57 +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
0a388056ad
chore(release): publish napi-rs 0.2.3 2020-05-01 23:53:32 +08:00
LongYinan
57b319273c
feat(napi): impl get_value for Boolean 2020-05-01 23:52:01 +08:00
LongYinan
c1da4f8d8e
chore(release): publish napi-rs 0.2.2 2020-05-01 12:48:19 +08:00
LongYinan
f74c383408
feat(napi): tweaks
env.throw_error
String => JsString
JsString.as_str
Status into napi_status
2020-05-01 01:27:01 +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
0b2561225f
feat(derive): js_function derive 2020-04-26 16:36:44 +08:00
LongYinan
f29ddc3a19
feat(napi): impl create_uint32 2020-04-20 00:43:48 +08:00
LongYinan
fa8e1be7b9
refactor(napi-rs): make api calls more safety 2020-04-19 18:52:32 +08:00
LongYinan
de6863cd3a
feat: support basic arrayBuffer 2020-04-08 23:58:50 +08:00
LongYinan
5574930e18
feat(napi): implement serde feature 2020-04-03 00:09:44 +08:00
LongYinan
d0eadec77b
fix(executor): close_uv when future ready 2020-04-01 23:36:19 +08:00
LongYinan
f8dd29084b
v0.2.0 2020-03-16 14:35:11 +08:00
LongYinan
090e7d6fb3
chore: prepare for release 2020-03-16 14:30:54 +08:00
LongYinan
ef99000955
fix(executor): use Arc to ensure thread safe 2020-03-12 22:40:21 +08:00
LongYinan
1e4aa3a2a5
feat(buffer): implement from_value 2020-02-22 12:34:04 +08:00
LongYinan
0bfcdff29f
fix(buffer): create_buffer_with_data 2020-02-21 00:45:30 +08:00
LongYinan
48c9a8956c
build: enhance the build pipeline 2020-02-19 17:45:57 +08:00
LongYinan
e0e85502af
feat: upgrade to std-future 2020-02-18 21:09:17 +08:00