forked from octos-org/octos
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
240 lines (205 loc) · 7.04 KB
/
Copy pathCargo.toml
File metadata and controls
240 lines (205 loc) · 7.04 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
[workspace]
resolver = "2"
members = [
"crates/octos-core",
"crates/octos-diagnostics",
"crates/octos-memory",
"crates/octos-llm",
"crates/octos-agent",
"crates/octos-bus",
"crates/octos-workflows",
"crates/octos-server",
"crates/octos-store",
"crates/octos-services",
"crates/octos-cli",
"crates/app-skills/news",
"crates/app-skills/deep-search",
"crates/app-skills/deep-crawl",
"crates/app-skills/send-email",
"crates/app-skills/account-manager",
"crates/app-skills/time",
"crates/app-skills/weather",
"crates/app-skills/smart-home",
"crates/app-skills/wechat-bridge",
"crates/app-skills/skill-evolve",
"crates/app-skills/harness-starter-generic",
"crates/app-skills/harness-starter-report",
"crates/app-skills/harness-starter-audio",
"crates/app-skills/harness-starter-coding",
"crates/platform-skills/voice",
"crates/octos-dora-mcp",
"crates/octos-pipeline",
"crates/octos-plugin",
"crates/octos-sandbox",
"crates/octos-swarm",
"crates/octos-fleet",
"crates/octos-fleet-worker",
"crates/octos-embed-llama",
"crates/octos-ffi",
"crates/octos-uniffi",
"crates/octos-wasm",
"crates/octos-pyo3",
]
[workspace.package]
version = "2.0.2"
edition = "2024"
rust-version = "1.85.0"
authors = ["octos team"]
license = "Apache-2.0"
repository = "https://github.com/octos-org/octos"
[workspace.lints.rust]
unsafe_code = "deny"
[workspace.dependencies]
# Internal crates
octos-core = { path = "crates/octos-core" }
octos-diagnostics = { path = "crates/octos-diagnostics" }
octos-memory = { path = "crates/octos-memory" }
octos-llm = { path = "crates/octos-llm" }
octos-agent = { path = "crates/octos-agent" }
octos-bus = { path = "crates/octos-bus" }
octos-workflows = { path = "crates/octos-workflows" }
octos-server = { path = "crates/octos-server" }
octos-store = { path = "crates/octos-store" }
octos-services = { path = "crates/octos-services" }
octos-pipeline = { path = "crates/octos-pipeline" }
octos-plugin = { path = "crates/octos-plugin" }
octos-swarm = { path = "crates/octos-swarm" }
octos-fleet = { path = "crates/octos-fleet" }
octos-fleet-worker = { path = "crates/octos-fleet-worker" }
octos-embed-llama = { path = "crates/octos-embed-llama" }
# codex-rs crates (reused)
codex-execpolicy = { git = "https://github.com/openai/codex", path = "codex-rs/execpolicy" }
codex-state = { git = "https://github.com/openai/codex", path = "codex-rs/state" }
codex-file-search = { git = "https://github.com/openai/codex", path = "codex-rs/file-search" }
codex-linux-sandbox = { git = "https://github.com/openai/codex", path = "codex-rs/linux-sandbox" }
# Async runtime
tokio = { version = "1", features = ["full"] }
async-trait = "0.1"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yml = "0.0.12"
toml = "0.8"
base64 = "0.22"
# Crypto
md-5 = "0.10"
sha2 = "0.10"
fs2 = "0.4"
aes = "0.8"
cbc = { version = "0.1", features = ["alloc"] }
rand = "0.8"
secrecy = { version = "0.10", features = ["serde"] }
subtle = "2"
# JWT signing for Google service-account (Vertex AI) auth. Uses `ring`
# (already in tree via rustls) for RS256 — no OpenSSL.
jsonwebtoken = "9"
# Error handling (dora-rs pattern)
eyre = "0.6"
color-eyre = "0.6"
# CLI
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
colored = "2"
dirs = "5"
rustyline = "15"
open = "5"
# Keychain (platform-native secure credential storage)
keyring = { version = "3", default-features = false }
# HTTP client (using rustls for pure Rust, no OpenSSL)
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls", "blocking", "multipart"] }
htmd = "0.5"
# Database (pure Rust)
redb = "2"
bincode = "1"
# Vector search
hnsw_rs = "0.3"
# Git (native, feature-gated)
gix = { version = "0.79", default-features = false, features = ["max-performance-safe", "revision", "blob-diff"] }
# AST parsing (feature-gated)
tree-sitter = "0.24"
tree-sitter-rust = "0.23"
tree-sitter-python = "0.23"
tree-sitter-javascript = "0.23"
tree-sitter-typescript = "0.23"
# Diff
similar = "2"
# Office file manipulation (DOCX/PPTX/XLSX are ZIP+XML)
zip = "2"
quick-xml = "0.37"
image = { version = "0.25", default-features = false, features = ["jpeg", "png"] }
# PDF text extraction (pure Rust; read_file auto-detects %PDF- magic)
pdf-extract = "0.9"
# Audio decoding (pure Rust)
# WAV: always-on (small dep, used by AudioNonSilent validator on .wav files).
# MP3: gated behind the `audio_mp3` feature on octos-agent so non-audio
# workspaces don't pay the symphonia dep cost. Without the feature, MP3
# AudioNonSilent validators return an explicit "feature not enabled" error
# rather than silently passing.
hound = "3"
symphonia = { version = "0.5", default-features = false, features = ["mp3"] }
# Unix-specific (O_NOFOLLOW for symlink-safe file I/O)
libc = "0.2"
# LRU cache
lru = "0.16"
# File search
glob = "0.3"
globset = "0.4"
regex = "1"
ignore = "0.4"
# Cron expressions
cron = "0.15"
# Time and IDs
chrono = { version = "0.4", features = ["serde"] }
chrono-tz = "0.10"
iana-time-zone = "0.1"
uuid = { version = "1", features = ["v4", "v7", "serde"] }
# Async utilities
futures = "0.3"
# Browser automation
chromiumoxide = "0.9"
which = "7"
# Channel integrations (optional, pulled in via feature flags)
teloxide = { version = "0.17", default-features = false, features = ["rustls"] }
serenity = { version = "0.12", default-features = false, features = ["rustls_backend", "gateway", "client", "http", "model"] }
tokio-tungstenite = { version = "0.26", default-features = false, features = ["connect", "rustls-tls-native-roots"] }
# Email channel (optional)
async-imap = { version = "0.11", default-features = false, features = ["runtime-tokio"] }
tokio-rustls = { version = "0.26", default-features = false }
rustls = { version = "0.23", default-features = false, features = ["std", "tls12", "ring"] }
rustls-native-certs = "0.8"
webpki-roots = "0.26"
lettre = { version = "0.11", default-features = false, features = ["tokio1-rustls-tls", "smtp-transport", "builder"] }
mailparse = "0.16"
# Web API (optional)
axum = { version = "0.8", features = ["multipart", "ws"] }
tower-http = { version = "0.6", features = ["cors", "trace"] }
rust-embed = "8"
metrics = "0.24"
metrics-exporter-prometheus = "0.16"
# Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-appender = "0.2"
# Archive extraction
flate2 = "1"
qrcode = { version = "0.14", default-features = false }
chacha20poly1305 = "0.10"
argon2 = "0.5"
tar = "0.4"
tower = { version = "0.5", features = ["util"] }
# URL parsing
url = "2"
# Testing
tokio-test = "0.4"
tempfile = "3"
proptest = "1.11"
wiremock = "0.6"
# -- Release configuration --------------------------------------------------
[workspace.metadata.release]
shared-version = true
consolidate-commits = true
tag-name = "v{{version}}"
tag-message = "Release {{version}}"
pre-release-commit-message = "chore: release {{version}}"
pre-release-hook = ["git-cliff", "-o", "CHANGELOG.md", "--tag", "v{{version}}"]
publish = false