-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
90 lines (82 loc) · 2.57 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[package]
name = "tree-sitter-grep"
version = "0.1.0"
edition = "2021"
license = "Unlicense OR MIT"
authors = [
"Julian Rosse <julian@helixbass.net>",
"Peter Stuart <peter@peterstuart.org>"
]
description = """
tree-sitter-grep is a grep-like search tool that
recursively searches the current directory for a
tree-sitter query pattern. Like ripgrep, it respects
gitignore rules.
"""
homepage = "https://github.com/helixbass/tree-sitter-grep"
repository = "https://github.com/helixbass/tree-sitter-grep"
keywords = ["tree-sitter", "grep", "search"]
categories = ["command-line-utilities", "development-tools"]
rust-version = "1.70"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bstr = "1.1.0"
bytecount = "0.6"
clap = { version = "4.3.0", features = ["derive", "wrap_help"] }
encoding_rs = "0.8.14"
encoding_rs_io = "0.1.6"
ignore = { package = "tree_sitter_grep_ignore", git = "https://github.com/helixbass/ripgrep", rev = "669ebd3", version = "0.4.20-dev.0" }
libc = "0.2.144"
libloading = "0.8.0"
log = "0.4.5"
memchr = "2.1"
memmap = { package = "memmap2", version = "0.5.3" }
once_cell = "1.18.0"
proc_macros = { package = "tree_sitter_grep_proc_macros", path = "proc_macros", version = "0.1.0" }
rayon = "1.7.0"
regex = "1.8.2"
serde = { version = "1.0.77", features = ["derive"] }
strum_macros = "0.25.1"
termcolor = "1.2.0"
thiserror = "1.0.43"
tree-sitter = "0.20.10"
tree-sitter-c = "0.20.2"
tree-sitter-c-sharp = "0.20.0"
tree-sitter-cpp = "0.20.0"
tree-sitter-css = "0.19.0"
tree-sitter-dockerfile = "0.1.0"
tree-sitter-elisp = "1.3.0"
tree-sitter-elm = "5.6.4"
tree-sitter-go = "0.20.0"
tree-sitter-html = "0.19.0"
tree-sitter-java = "0.20.0"
tree-sitter-javascript = "0.20.0"
tree-sitter-json = "0.19.0"
tree-sitter-kotlin = "0.2.11"
tree-sitter-lua = "0.0.18"
tree-sitter-objc = "1.1.0"
tree-sitter-python = "0.20.2"
tree-sitter-query = "0.1.0"
tree-sitter-ruby = "0.20.0"
tree-sitter-rust = { package = "tree_sitter_grep_tree-sitter-rust", git = "https://github.com/helixbass/tree-sitter-rust", rev = "781a8d9", version = "0.20.3-dev.0" }
tree-sitter-swift = "0.3.6"
tree-sitter-toml = "0.20.0"
tree-sitter-typescript = "0.20.2"
[[bin]]
name = "tree-sitter-grep"
[dev-dependencies]
assert_cmd = "2.0.11"
escargot = "0.5.7"
predicates = "3.0.3"
shlex = "1.1.0"
[features]
default = ["bytecount/runtime-dispatch-simd"]
[[example]]
name = "filter_before_line_number"
crate-type = ["cdylib"]
[[example]]
name = "filter_before_line_10"
crate-type = ["cdylib"]
[[example]]
name = "filter_function_items_before_line_10"
crate-type = ["cdylib"]