-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
98 lines (77 loc) · 1.86 KB
/
Copy pathCargo.toml
File metadata and controls
98 lines (77 loc) · 1.86 KB
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
91
92
93
94
95
96
97
98
[package]
name = "wonk"
version = "4.14.1"
edition = "2024"
description = "Structure-aware code search CLI for LLM coding agents"
license = "MIT"
repository = "https://github.com/etr/wonk"
homepage = "https://github.com/etr/wonk"
readme = "README.md"
keywords = ["code-search", "tree-sitter", "llm", "coding-agent", "indexer"]
categories = ["command-line-utilities", "development-tools"]
exclude = ["bench/", "specs/", "homebrew/", "docs/", ".github/"]
[lib]
name = "wonk"
path = "src/lib.rs"
[[bin]]
name = "wonk"
path = "src/main.rs"
[dependencies]
# CLI parsing
clap = { version = "4.5", features = ["derive"] }
# SQLite
rusqlite = { version = "0.38", features = ["bundled"] }
# Tree-sitter core
tree-sitter = "0.26"
# Text search
grep = "0.4"
# Regex (for match highlighting in color output)
regex = "1"
# File filtering
ignore = "0.4"
# Parallel indexing
rayon = "1"
# File watching
notify = "8"
notify-debouncer-mini = "0.5"
# Channels
crossbeam-channel = "0.5"
# Content hashing
xxhash-rust = { version = "0.8", features = ["xxh3"] }
# Repo path hashing
sha2 = "0.10"
# Config parsing
toml = "0.8"
# Serialization / JSON output
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_toon2 = "0.1"
# Error handling
anyhow = "1"
thiserror = "2"
# Embedding support
ureq = { version = "3.1", features = ["json"] }
bytemuck = { version = "1", features = ["derive"] }
# Clustering
linfa = "0.8"
linfa-clustering = "0.8"
ndarray = "0.16"
rand = "0.8"
# Daemon
fork = "0.2"
signal-hook = "0.3"
libc = "0.2"
# Tree-sitter language grammars
tree-sitter-typescript = "0.23"
tree-sitter-javascript = "0.23"
tree-sitter-python = "0.23"
tree-sitter-rust = "0.23"
tree-sitter-go = "0.23"
tree-sitter-java = "0.23"
tree-sitter-c = "0.23"
tree-sitter-cpp = "0.23"
tree-sitter-ruby = "0.23"
tree-sitter-php = "0.23"
tree-sitter-c-sharp = "0.23"
[dev-dependencies]
tempfile = "3"