napi-rs/crates/napi/src
Maël Nison 2f00e79873
chore(napi): adds support for Rc<T> / Arc<T> / Mutex<T> (#1573)
* Adds support for Rc/Arc/Mutex<T>

* Fixes codegen

* Fixes lint

* Fix clippy

---------

Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-04-25 11:14:06 +08:00
..
bindgen_runtime chore(napi): adds support for Rc<T> / Arc<T> / Mutex<T> (#1573) 2023-04-25 11:14:06 +08:00
js_values fix(napi): do nothing in deferred if thread is destroyed (#1568) 2023-04-15 18:58:53 +08:00
async_cleanup_hook.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
async_work.rs feat: export registers in wasm32 target (#1529) 2023-03-20 18:42:27 +08:00
call_context.rs refactor(napi): remove compatible Either struct 2021-11-25 17:53:41 +08:00
cleanup_env.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
env.rs fix(napi): access violation in property getter/setter closure (#1552) 2023-04-03 11:12:07 +08:00
error.rs fix(napi): re-throw error in ThreadsafeFunction callback if we could 2023-04-10 17:02:13 +08:00
lib.rs fix(napi): noop feature 2023-04-11 11:44:10 +08:00
status.rs fix(napi): support custom status in Error (#1486) 2023-02-09 23:18:57 +08:00
task.rs feat(napi): implement AsyncTask with AbortSignal support 2021-11-06 13:51:54 +08:00
threadsafe_function.rs fix(napi): re-throw error in ThreadsafeFunction callback if we could 2023-04-10 17:02:13 +08:00
tokio_runtime.rs fix: prevent crashing when napi_register_module_v1 is called twice (#1554) 2023-04-08 23:08:48 +08:00
value_type.rs feat(napi): BigInt codegen support 2021-11-11 16:18:25 +08:00
version.rs fix(napi): correct the CString usage 2021-11-15 16:55:13 +08:00