forked from tcdent/codey
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (78 loc) · 1.95 KB
/
Cargo.toml
File metadata and controls
95 lines (78 loc) · 1.95 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
[package]
name = "codey"
version = "0.1.0-rc.3"
edition = "2021"
authors = ["Codey Contributors"]
description = "A terminal-based AI coding assistant"
license = "MIT"
repository = "https://github.com/tcdent/codey"
[dependencies]
# TUI
ratatui = { version = "0.30.0-beta.0", features = ["scrolling-regions"] }
crossterm = { version = "0.28", features = ["event-stream"] }
# Async runtime
tokio = { version = "1", features = ["full"] }
tokio-stream = "0.1"
# LLM client (multi-provider)
genai = "0.4.4"
# HTTP client
reqwest = { version = "0.12", features = ["stream", "json", "rustls-tls"], default-features = false }
futures = "0.3"
# Web content extraction (reader view)
chromiumoxide = { version = "0.7", features = ["tokio-runtime"], default-features = false }
readability = "0.3"
htmd = "0.1"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Config
toml = "0.8"
dirs = "5"
# CLI arguments
clap = { version = "4", features = ["derive", "env"] }
# Error handling
anyhow = "1"
thiserror = "2"
# Utilities
fancy-regex = "0.14"
unicode-width = "0.2"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4"] }
url = "2"
urlencoding = "2"
base64 = "0.22"
sha2 = "0.10"
rand = "0.8"
open = "5"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Async utilities
async-trait = "0.1"
async-stream = "0.3"
dotenvy = "0.15.7"
ratskin = "0.3"
typetag = "0.2.21"
# Neovim RPC
nvim-rs = { version = "0.9", features = ["use_tokio"] }
textwrap = "0.16.2"
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3"
pretty_assertions = "1"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = false
debug = true
[features]
default = []
# Enable performance profiling with JSON export
# Build with: cargo build --release --features profiling
profiling = ["dep:sysinfo"]
[dependencies.sysinfo]
version = "0.33"
optional = true
default-features = false
features = ["system"]