-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (67 loc) · 1.76 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (67 loc) · 1.76 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
[workspace]
members = [
"crates/naptrace",
"crates/naptrace-core",
"crates/naptrace-joern",
"crates/naptrace-embed",
"crates/naptrace-llm",
]
resolver = "2"
[workspace.package]
version = "0.2.0"
edition = "2021"
rust-version = "1.86"
license = "Apache-2.0"
repository = "https://github.com/hamzamiladin/naptrace"
[workspace.dependencies]
# CLI
clap = { version = "4.5", features = ["derive", "env"] }
indicatif = "0.17"
colored = "2.1"
# Async runtime
tokio = { version = "1.40", features = ["full"] }
futures = "0.3"
# HTTP
reqwest = { version = "0.12", features = ["json", "rustls-tls", "stream"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
# Parsing
tree-sitter = "0.25"
tree-sitter-c = "0.23"
tree-sitter-cpp = "0.23"
tree-sitter-java = "0.23"
tree-sitter-python = "0.23"
tree-sitter-javascript = "0.23"
tree-sitter-typescript = "0.23"
tree-sitter-go = "0.23"
tree-sitter-rust = "0.23"
# Git / patch handling
gix = "0.66"
unidiff = "0.3"
# Vector store (embedded, no server)
lancedb = "0.23"
arrow-array = "53"
arrow-schema = "53"
# SARIF output
serde-sarif = "0.7"
# Local LLM / embedding (ONNX runtime)
ort = { version = "2.0.0-rc.9", features = ["download-binaries"] }
tokenizers = "0.20"
# Error / logging
anyhow = "1"
thiserror = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
# Utils
sha2 = "0.10"
directories = "5"
tempfile = "3"
walkdir = "2"
once_cell = "1"
# Internal crates
naptrace-core = { version = "0.2.0", path = "crates/naptrace-core" }
naptrace-joern = { version = "0.2.0", path = "crates/naptrace-joern" }
naptrace-embed = { version = "0.2.0", path = "crates/naptrace-embed" }
naptrace-llm = { version = "0.2.0", path = "crates/naptrace-llm" }