-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
93 lines (74 loc) · 2.42 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
91
92
93
[package]
name = "retreival"
version = "0.1.0"
edition = "2021"
[dependencies]
sha2 = "0.10.2"
globset = "0.4"
# core
tantivy = { version = "0.21.0", features = ["mmap"] }
tantivy-columnar = "0.2.0"
tokio = { version = "1.32.0", features = ["macros", "process", "rt", "rt-multi-thread", "io-std", "io-util", "sync", "fs"] }
tokio-stream = { version = "0.1.14", features = ["sync"]}
async-trait = "0.1.73"
async-stream = "0.3.5"
futures = "0.3.30"
futures-util = "0.3.30"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "registry"] }
tracing-appender = "0.2.2"
regex = "1.9.5"
regex-syntax = "0.6.28"
# for debugging
console-subscriber = { version = "0.1.10", optional = true }
histogram = { version = "0.7.4", optional = true }
# error handling
anyhow = "1.0.75"
thiserror = "1.0.48"
# code-nav
tree-sitter = "0.20.10"
tree-sitter-c = "0.20.6"
tree-sitter-go = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "05900fa" }
tree-sitter-javascript = "0.20.1"
tree-sitter-python = "=0.20.2"
tree-sitter-rust = "0.20.4"
tree-sitter-typescript = "0.20.2"
tree-sitter-c-sharp = "0.20.0"
tree-sitter-java = { git = "https://github.com/tree-sitter/tree-sitter-java", tag = "v0.20.0" }
tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5ead1e2" }
tree-sitter-ruby = "0.20.0"
tree-sitter-r = "0.19.5"
tree-sitter-php = { git = "https://github.com/tree-sitter/tree-sitter-php" }
tree-sitter-COBOL = { git = "https://github.com/BloopAI/tree-sitter-cobol" }
petgraph = { version = "0.6.4", default-features = false, features = ["serde-1"] }
# file processing
ignore = "=0.4.20"
hyperpolyglot = { git = "https://github.com/bloopai/hyperpolyglot" }
blake3 = "1.5.0"
notify-debouncer-mini = { version = "0.3.0", default-features = false }
# doc scraper
select = "0.6"
tree-sitter-md = "0.1.5"
# misc
serde = "1.0.188"
erased-serde = "0.3.31"
smallvec = { version = "1.11.1", features = ["serde"]}
bincode = "1.3.3"
phf = "0.11.2"
rand = "0.8.5"
once_cell = "1.18.0"
# Directly specify the version for zstd
zstd = "=0.12.4"
# Optionally, if you want to ensure zstd-safe is the correct version
zstd-safe = "=6.0.6"
zstd-sys = "=2.0.9+zstd.1.5.5"
serde_json = "1.0.117"
[dev-dependencies]
pretty_assertions = "1.4.0"
tempdir = "0.3.7"
expect-test = "1.4.1"
[build-dependencies]
phf_codegen = "0.11.2"
serde = {version = "1.0.188", features = ["derive"]}
serde_yaml = "0.9.25"
blake3 = "1.5.0"