Skip to content

Commit 3dbc38b

Browse files
authored
chore: use individual flag for ast-grep (#324)
https://github.com/ast-grep/ast-grep/releases/tag/0.40.1
1 parent d025673 commit 3dbc38b

2 files changed

Lines changed: 12 additions & 13 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ cargo_common_metadata = "allow"
3333

3434
[workspace.dependencies]
3535
anyhow = "1.0.98"
36-
# Temporary fork of ast-grep dependencies using a specific commit from https://github.com/fengmk2/ast-grep.git.
37-
# Reason: Waiting for upstream PR #2359 (https://github.com/ast-grep/ast-grep/pull/2359) to be merged.
38-
# The commit 2f4c6924438a72e136485f0e14cd136b2e17d8d3 includes necessary fixes/features not yet available in the official release.
39-
# Safe to migrate back to the official ast-grep release once PR #2359 is merged and a new version is published.
40-
ast-grep-config = { git = "https://github.com/fengmk2/ast-grep.git", rev = "2f4c6924438a72e136485f0e14cd136b2e17d8d3" }
41-
ast-grep-core = { git = "https://github.com/fengmk2/ast-grep.git", rev = "2f4c6924438a72e136485f0e14cd136b2e17d8d3" }
42-
ast-grep-language = { git = "https://github.com/fengmk2/ast-grep.git", rev = "2f4c6924438a72e136485f0e14cd136b2e17d8d3", default-features = false, features = ["lang-bash", "lang-typescript"] }
36+
ast-grep-config = "0.40.1"
37+
ast-grep-core = "0.40.1"
38+
ast-grep-language = { version = "0.40.1", default-features = false, features = ["tree-sitter-bash", "tree-sitter-typescript"] }
4339
backon = "1.3.0"
4440
bincode = "2.0.1"
4541
bstr = { version = "1.12.0", default-features = false, features = ["alloc", "std"] }

0 commit comments

Comments
 (0)