-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathCargo.toml
More file actions
109 lines (94 loc) · 2.56 KB
/
Copy pathCargo.toml
File metadata and controls
109 lines (94 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
[workspace]
resolver = "2"
members = [
"agent-diva-core",
"agent-diva-agent",
"agent-diva-autodream",
"agent-diva-e2e",
"agent-diva-tooling",
"agent-diva-neuron",
"agent-diva-providers",
"agent-diva-channels",
"agent-diva-tools",
"agent-diva-files",
"agent-diva-cli",
"agent-diva-service",
"agent-diva-migration",
"agent-diva-gui/src-tauri", "agent-diva-manager",
"agent-diva-laputa",
"agent-diva-sandbox",
]
[workspace.package]
version = "0.9.9"
authors = ["mastwet (projectViVY Team, undefine foundation)"]
rust-version = "1.80.0"
[workspace.dependencies]
# Async runtime
tokio = { version = "1.35", features = ["rt-multi-thread", "macros", "sync", "time", "test-util", "fs", "process", "io-util"] }
futures = "0.3"
async-trait = "0.1"
tokio-util = "0.7"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Logging and tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "local-time"] }
tracing-appender = "0.2"
# Configuration
config = "0.14"
dotenv = "0.15"
dirs = "5.0"
# Time and date
chrono = { version = "0.4", features = ["serde"] }
chrono-tz = "0.8"
cron = "0.12"
tokio-cron-scheduler = "0.10"
# HTTP and WebSocket
# rustls-tls: Windows Schannel often fails TLS handshake to some APIs (e.g. api.deepseek.com);
# rustls matches behavior on macOS/Linux and avoids native-tls/Schannel for HTTPS.
reqwest = { version = "0.11", default-features = false, features = ["json", "socks", "multipart", "blocking", "rustls-tls", "stream"] }
tokio-tungstenite = "0.21"
http = "1.0"
# CLI
clap = { version = "4.4", features = ["derive"] }
console = "0.15"
dialoguer = "0.11"
indicatif = "0.17"
# Text encoding (Windows shell pipe decoding)
encoding_rs = "0.8"
# Utilities
uuid = { version = "1.6", features = ["v4", "serde"] }
sha2 = "0.10"
similar = "2.7"
unicode-normalization = "0.1"
unicode-segmentation = "1.12"
regex = "1.10"
lazy_static = "1.4"
once_cell = "1.19"
bytes = "1.5"
base64 = "0.22"
which = "6.0"
windows-service = "0.7"
# File management
agent-diva-files = { version = "0.9.9", path = "agent-diva-files" }
agent-diva-tooling = { version = "0.9.9", path = "agent-diva-tooling" }
# Database
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "sqlite", "migrate", "chrono"] }
# Testing
mockito = "1.2"
wiremock = "0.6"
tokio-test = "0.4"
tempfile = "3.10"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.dev]
opt-level = 0
debug = true