Release independent packages
napi@2.4.2 napi-derive@2.4.2 napi-sys@2.2.2
This commit is contained in:
parent
3d4c421585
commit
fb8d8b97d6
5 changed files with 10 additions and 7 deletions
|
@ -6,7 +6,7 @@ license = "MIT"
|
|||
name = "napi-derive-backend"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
version = "1.0.31"
|
||||
version = "1.0.32"
|
||||
|
||||
[package.metadata.workspaces]
|
||||
independent = true
|
||||
|
|
|
@ -7,7 +7,7 @@ license = "MIT"
|
|||
name = "napi-derive"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
version = "2.4.0"
|
||||
version = "2.4.1"
|
||||
|
||||
[package.metadata.workspaces]
|
||||
independent = true
|
||||
|
|
|
@ -7,7 +7,7 @@ license = "MIT"
|
|||
name = "napi"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
version = "2.4.1"
|
||||
version = "2.4.2"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
@ -52,7 +52,7 @@ lazy_static = "1"
|
|||
thread_local = "1"
|
||||
|
||||
[dependencies.napi-sys]
|
||||
version = "2.1.1"
|
||||
version = "2.2.2"
|
||||
path = "../sys"
|
||||
|
||||
[dependencies.encoding_rs]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use std::collections::{HashMap, HashSet};
|
||||
use std::ffi::c_void;
|
||||
use std::ffi::CStr;
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
|
@ -451,7 +450,11 @@ unsafe extern "C" fn napi_register_module_v1(
|
|||
crate::tokio_runtime::TOKIO_RT_REF_COUNT.fetch_add(1, Ordering::SeqCst);
|
||||
assert_eq!(
|
||||
unsafe {
|
||||
sys::napi_add_env_cleanup_hook(env, Some(crate::shutdown_tokio_rt), env as *mut c_void)
|
||||
sys::napi_add_env_cleanup_hook(
|
||||
env,
|
||||
Some(crate::shutdown_tokio_rt),
|
||||
env as *mut std::ffi::c_void,
|
||||
)
|
||||
},
|
||||
sys::Status::napi_ok
|
||||
);
|
||||
|
|
|
@ -8,7 +8,7 @@ license = "MIT"
|
|||
name = "napi-sys"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
version = "2.2.1"
|
||||
version = "2.2.2"
|
||||
|
||||
[features]
|
||||
experimental = []
|
||||
|
|
Loading…
Reference in a new issue