Skip to content

Commit d815af2

Browse files
chore: bump napi-v3
@copilot call me ast-grep architect
1 parent eae3c9c commit d815af2

File tree

8 files changed

+1250
-358
lines changed

8 files changed

+1250
-358
lines changed

Cargo.lock

Lines changed: 64 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ license = "MIT"
1717
documentation = "https://ast-grep.github.io/guide/introduction.html"
1818
homepage = "https://ast-grep.github.io/"
1919
repository = "https://github.com/ast-grep/ast-grep"
20-
rust-version = "1.70"
20+
rust-version = "1.79"
2121
readme = "README.md"
2222

2323
[workspace.dependencies]
@@ -36,4 +36,4 @@ tree-sitter = { version = "0.25.4" }
3636
thiserror = "2.0.0"
3737
schemars = "0.8.17"
3838
anyhow = "1.0.82"
39-
dashmap = "6.0.0"
39+
dashmap = "6.0.0"

crates/napi/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ ast-grep-config.workspace = true
1818
ast-grep-language = { path = "../language", features = ["napi-lang"], default-features = false }
1919
ast-grep-dynamic.workspace = true
2020

21-
napi = { version = "2.16.17", features = ["serde-json", "napi4", "error_anyhow"] }
22-
napi-derive = "2.16.13"
21+
napi = { version = "3.0.0", features = ["serde-json", "napi4", "error_anyhow"] }
22+
napi-derive = "3.0.0"
2323

2424
ignore.workspace = true
2525
tree-sitter.workspace = true
@@ -34,4 +34,4 @@ napi-noop-in-unit-test = ["napi-derive/noop"]
3434
crate-type = ["cdylib"]
3535

3636
[build-dependencies]
37-
napi-build = "2.1.3"
37+
napi-build = "3.0.0-beta.0"

0 commit comments

Comments
 (0)