diff --git a/Cargo.lock b/Cargo.lock index 962f154d37..e8fdd48288 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1812,14 +1812,12 @@ dependencies = [ [[package]] name = "napi" -version = "2.16.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc300228808a0e6aea5a58115c82889240bcf8dab16fc25ad675b33e454b368" +version = "3.0.0-alpha.2" +source = "git+https://github.com/napi-rs/napi-rs.git?rev=ca2cd5c35a0c39ec4a94e93c6c5695b681046df2#ca2cd5c35a0c39ec4a94e93c6c5695b681046df2" dependencies = [ "bitflags 2.5.0", "chrono", "ctor", - "napi-derive", "napi-sys", "once_cell", "serde", @@ -1865,8 +1863,7 @@ dependencies = [ [[package]] name = "napi-sys" version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3" +source = "git+https://github.com/napi-rs/napi-rs.git?rev=ca2cd5c35a0c39ec4a94e93c6c5695b681046df2#ca2cd5c35a0c39ec4a94e93c6c5695b681046df2" dependencies = [ "libloading", ] diff --git a/Cargo.toml b/Cargo.toml index 8bdcfed1a6..8549a1aa6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ resolver = "2" [workspace.dependencies] macro-rs = { path = "packages/macro-rs" } -napi = { version = "2.16.6", default-features = false } +napi = { git = "https://github.com/napi-rs/napi-rs.git", rev = "ca2cd5c35a0c39ec4a94e93c6c5695b681046df2", default-features = false } napi-derive = "2.16.5" napi-build = "2.1.3"