chore (deps): use unreleased napi crate for now

This commit is contained in:
naskya 2024-05-19 17:10:24 +09:00
parent 9dbf6d07c4
commit 84596c8313
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
2 changed files with 4 additions and 7 deletions

9
Cargo.lock generated
View file

@ -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",
]

View file

@ -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"