-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
125 lines (104 loc) · 2.56 KB
/
Copy pathCargo.toml
File metadata and controls
125 lines (104 loc) · 2.56 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[package]
name = "nerva"
version = "0.1.0"
edition = "2021"
description = "Terminal AI coding agent - Rust implementation"
license = "MIT"
repository = "https://github.com/hannes-wan/nerva"
[lints.rust]
warnings = "deny"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# HTTP client
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "blocking", "rustls-tls"] }
# Date/time
chrono = { version = "0.4", features = ["serde"] }
# UUID
uuid = { version = "1", features = ["v4", "serde"] }
# File system operations
dirs = "5"
glob = "0.3"
walkdir = "2"
# Async streams
futures = "0.3"
bytes = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
thiserror = "1"
anyhow = "1"
# CLI
clap = { version = "4", features = ["derive"] }
rustyline = "15"
# Terminal UI
ratatui = { version = "0.30.0", default-features = false, features = ["termwiz", "scrolling-regions"] }
termwiz = "0.23.3"
tokio-retry = "0.3"
tokio-tungstenite = { version = "0.24", features = ["rustls-tls-webpki-roots"] }
pulldown-cmark = "0.13"
syntect = "5"
rpassword = "7"
unicode-width = "0.2"
unicode-segmentation = "1.13.2"
arboard = "3.4"
base64 = "0.22"
sha2 = "0.10"
rand = "0.8"
urlencoding = "2"
# Encoding
encoding_rs = "0.8"
# Regex
regex = "1"
kuchiki = "0.8"
toml = "0.8"
tree-sitter = "0.25.3"
tree-sitter-bash = "0.25.0"
tree-sitter-c = "0.24.0"
tree-sitter-c-sharp = "0.23.0"
tree-sitter-cpp = "0.23.0"
tree-sitter-css = "0.25.0"
tree-sitter-dart = "0.2.0"
tree-sitter-elixir = "0.3.5"
tree-sitter-go = "0.25.0"
tree-sitter-haskell = "0.23.0"
tree-sitter-hcl = "1.1.0"
tree-sitter-html = "0.23.2"
tree-sitter-java = "0.23.5"
tree-sitter-javascript = "0.25.0"
tree-sitter-json = "0.24.8"
tree-sitter-kotlin = { version = "0.4.1", package = "tree-sitter-kotlin-sg" }
tree-sitter-lua = "0.5.0"
tree-sitter-nix = "0.3.0"
tree-sitter-php = "0.24.2"
tree-sitter-python = "0.25.0"
tree-sitter-ruby = "0.23.1"
tree-sitter-rust = "0.24.0"
tree-sitter-scala = "0.26.0"
tree-sitter-solidity = "1.2.13"
tree-sitter-swift = "0.7.1"
tree-sitter-typescript = "0.23.2"
tree-sitter-yaml = "0.7.2"
# Diff algorithm
similar = "2"
# Async traits
async-trait = "0.1"
# Once cell
once_cell = "1"
# Dotenv
dotenv = "0.15"
rusqlite = { version = "0.32", features = ["bundled"] }
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3"
portable-pty = "0.9"
[lib]
name = "nerva"
path = "src/lib.rs"
[[bin]]
name = "nerva"
path = "src/main.rs"