Skip to content

Commit

Permalink
chore: update [email protected], update [email protected], remove "#[napi(…
Browse files Browse the repository at this point in the history
…object)]" to enums in favor of "#[napi]" only
  • Loading branch information
jkomyno committed Jan 22, 2024
1 parent 53daea5 commit fd2b148
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
38 changes: 24 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ uuid = { version = "1", features = ["serde"] }
indoc = "2.0.1"
itertools = "0.12"
connection-string = "0.2"
napi = { version = "2.12.4", default-features = false, features = [
napi = { version = "2.14.2", default-features = false, features = [
"napi8",
"tokio_rt",
"serde-json",
] }
napi-derive = "2.12.4"
napi-derive = "2.14.6"
js-sys = { version = "0.3" }
serde_repr = { version = "0.1.17" }
serde-wasm-bindgen = { version = "0.5" }
Expand Down
2 changes: 1 addition & 1 deletion query-engine/driver-adapters/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl JSResultSet {
}
}

#[cfg_attr(not(target_arch = "wasm32"), napi_derive::napi(object))]
#[cfg_attr(not(target_arch = "wasm32"), napi_derive::napi)]
#[cfg_attr(target_arch = "wasm32", derive(Clone, Copy, Deserialize_repr))]
#[repr(u8)]
#[derive(Debug)]
Expand Down

0 comments on commit fd2b148

Please sign in to comment.