-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
102 lines (83 loc) · 2.33 KB
/
Cargo.toml
File metadata and controls
102 lines (83 loc) · 2.33 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
[workspace]
resolver = "2"
members = [
"crates/duragent",
"crates/duragent-types",
"crates/duragent-client",
"crates/duragent-cli",
"crates/duragent-gateway-protocol",
"crates/duragent-gateway-discord",
"crates/duragent-gateway-telegram",
]
[workspace.package]
version = "0.5.4"
edition = "2024"
rust-version = "1.91"
license = "MIT"
repository = "https://github.com/giosakti/duragent"
[workspace.dependencies]
# Workspace crates
duragent-types = { path = "crates/duragent-types" }
duragent-client = { path = "crates/duragent-client" }
duragent-cli = { path = "crates/duragent-cli" }
duragent-gateway-protocol = { path = "crates/duragent-gateway-protocol" }
duragent-gateway-discord = { path = "crates/duragent-gateway-discord" }
duragent-gateway-telegram = { path = "crates/duragent-gateway-telegram" }
# Async runtime
async-trait = "0.1"
bytes = "1"
futures = "0.3"
tokio = { version = "1", features = ["fs", "io-util", "io-std", "macros", "net", "process", "rt-multi-thread", "signal", "sync", "time"] }
tokio-stream = "0.1.18"
tokio-util = "0.7"
# CLI
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
reedline = "0.45"
# Compression / archives
flate2 = "1"
tar = "0.4"
# Crypto / encoding
base64 = "0.22"
sha2 = "0.10"
subtle = "2"
url = "2"
# Error handling
anyhow = "1"
thiserror = "2.0"
# HTML processing
html-to-markdown-rs = "2"
# HTTP client
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls", "stream"] }
# HTTP server
axum = "0.8"
tower-http = { version = "0.6", features = ["timeout"] }
# Markdown processing
pulldown-cmark = "0.13"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde-saphyr = "0.0"
# Unix-specific
libc = "0.2"
# Versioning
semver = "1"
# Utilities
chrono = { version = "0.4", features = ["serde"] }
cron = "0.15"
dashmap = "6"
rand = "0.9"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
ulid = "1"
# Gateway: Discord
serenity = { version = "0.12", default-features = false, features = ["client", "gateway", "model", "builder", "rustls_backend"] }
# Gateway: Telegram
teloxide = { version = "0.17", features = ["macros"] }
# Dev dependencies
http-body-util = "0.1"
tempfile = "3"
tower = { version = "0.5", features = ["util", "limit"] }
[profile.release]
strip = true
lto = true