Release independent packages
napi@2.0.0-alpha.3 napi-derive-backend@1.0.5 napi-derive@2.0.0-alpha.4 Generated by cargo-workspaces
This commit is contained in:
parent
be70c27667
commit
052bcd8f3e
5 changed files with 7 additions and 4 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.4"
|
||||
version = "1.0.5"
|
||||
|
||||
[features]
|
||||
strict = []
|
||||
|
|
|
@ -7,7 +7,7 @@ license = "MIT"
|
|||
name = "napi-derive"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
version = "2.0.0-alpha.3"
|
||||
version = "2.0.0-alpha.4"
|
||||
|
||||
[features]
|
||||
compat-mode = []
|
||||
|
@ -18,7 +18,7 @@ type-def = ["napi-derive-backend/type-def"]
|
|||
|
||||
[dependencies]
|
||||
convert_case = "0.4"
|
||||
napi-derive-backend = {version = "1.0.4", path = "../backend"}
|
||||
napi-derive-backend = {version = "1.0.5", path = "../backend"}
|
||||
proc-macro2 = "1.0"
|
||||
quote = "1.0"
|
||||
syn = {version = "1.0", features = ["fold", "full", "extra-traits"]}
|
||||
|
|
|
@ -7,7 +7,7 @@ license = "MIT"
|
|||
name = "napi"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/napi-rs/napi-rs"
|
||||
version = "2.0.0-alpha.2"
|
||||
version = "2.0.0-alpha.3"
|
||||
|
||||
[features]
|
||||
async = ["tokio_rt"]
|
||||
|
|
|
@ -13,6 +13,7 @@ mod map;
|
|||
mod nil;
|
||||
mod number;
|
||||
mod object;
|
||||
#[cfg(all(feature = "tokio_rt", feature = "napi4"))]
|
||||
mod promise;
|
||||
#[cfg(feature = "serde-json")]
|
||||
mod serde;
|
||||
|
@ -29,6 +30,7 @@ pub use either::*;
|
|||
pub use function::*;
|
||||
pub use nil::*;
|
||||
pub use object::*;
|
||||
#[cfg(all(feature = "tokio_rt", feature = "napi4"))]
|
||||
pub use promise::*;
|
||||
pub use string::*;
|
||||
pub use symbol::*;
|
||||
|
|
|
@ -4,6 +4,7 @@ use std::{ffi::CString, ptr};
|
|||
pub type Object = JsObject;
|
||||
|
||||
impl Object {
|
||||
#[cfg(feature = "serde-json")]
|
||||
pub(crate) fn new(env: sys::napi_env) -> Result<Self> {
|
||||
let mut ptr = ptr::null_mut();
|
||||
unsafe {
|
||||
|
|
Loading…
Reference in a new issue