diff --git a/napi/Cargo.lock b/napi/Cargo.lock index 8ce37f53..06eea7d3 100644 --- a/napi/Cargo.lock +++ b/napi/Cargo.lock @@ -352,13 +352,9 @@ dependencies = [ [[package]] name = "ctor" -version = "0.2.9" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501" -dependencies = [ - "quote", - "syn", -] +checksum = "01334b89b69ff726750c5ce5073fc8bd860e99aa9a8fc5ca11b04730e3aee97a" [[package]] name = "dashmap" @@ -1000,9 +996,9 @@ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" [[package]] name = "libloading" -version = "0.8.9" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +checksum = "754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60" dependencies = [ "cfg-if", "windows-link", @@ -1097,15 +1093,17 @@ dependencies = [ [[package]] name = "napi" -version = "2.16.17" +version = "3.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55740c4ae1d8696773c78fdafd5d0e5fe9bc9f1b071c7ba493ba5c413a9184f3" +checksum = "ad513ff22558f1830b595ea6eb4091da48145d09a222ce157e781896f78be0b9" dependencies = [ "bitflags", "ctor", - "napi-derive", + "futures", + "napi-build", "napi-sys", - "once_cell", + "nohash-hasher", + "rustc-hash", "tokio", ] @@ -1146,13 +1144,19 @@ dependencies = [ [[package]] name = "napi-sys" -version = "2.4.0" +version = "3.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3" +checksum = "1f5bcdf71abd3a50d00b49c1c2c75251cb3c913777d6139cd37dabc093a5e400" dependencies = [ "libloading", ] +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + [[package]] name = "nu-ansi-term" version = "0.50.3" diff --git a/napi/Cargo.toml b/napi/Cargo.toml index b046bec2..6362bed9 100644 --- a/napi/Cargo.toml +++ b/napi/Cargo.toml @@ -53,7 +53,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] # napi-rs v2 line; `napi6` enables N-API 6 surface, `async` enables the # `#[napi] async fn` glue that drives futures on napi-rs's tokio runtime. -napi = { version = "2", default-features = false, features = ["napi6", "async"] } +napi = { version = "3", default-features = false, features = ["napi6", "async"] } napi-derive = "2" # Kernel — path dep on the async-public-api branch worktree. Once the