Skip to content

Commit

Permalink
Release independent packages
Browse files Browse the repository at this point in the history
napi@2.0.0-alpha.3
napi-derive-backend@1.0.5
napi-derive@2.0.0-alpha.4

Generated by cargo-workspaces
  • Loading branch information
Brooooooklyn committed Nov 16, 2021
1 parent be70c27 commit 052bcd8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/backend/Cargo.toml
Expand Up @@ -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 = []
Expand Down
4 changes: 2 additions & 2 deletions crates/macro/Cargo.toml
Expand Up @@ -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 = []
Expand All @@ -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"]}
Expand Down
2 changes: 1 addition & 1 deletion crates/napi/Cargo.toml
Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions crates/napi/src/bindgen_runtime/js_values.rs
Expand Up @@ -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;
Expand All @@ -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::*;
Expand Down
1 change: 1 addition & 0 deletions crates/napi/src/bindgen_runtime/js_values/object.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 052bcd8

Please sign in to comment.