forked from spacedriveapp/spacebot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
152 lines (114 loc) · 3.47 KB
/
Cargo.toml
File metadata and controls
152 lines (114 loc) · 3.47 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
[package]
name = "spacebot"
version = "0.1.9"
edition = "2024"
default-run = "spacebot"
[dependencies]
# Core async runtime
tokio = { version = "1.44", features = ["full"] }
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# LLM / Rig framework
rig = { version = "0.30.0", package = "rig-core", features = ["derive"] }
# HTTP clients for LLM providers
reqwest = { version = "0.12", features = ["json", "stream"] }
# Databases
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "migrate", "chrono", "uuid"] }
lancedb = "0.26"
lance-index = "2.0"
redb = "2.4"
# Vector / embedding operations
fastembed = "4"
# Encoding
base64 = "0.22"
# Logging and tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
# OpenTelemetry
opentelemetry = "0.29"
opentelemetry_sdk = { version = "0.29", features = ["rt-tokio", "experimental_trace_batch_span_processor_with_async_runtime"] }
opentelemetry-otlp = { version = "0.29", default-features = false, features = ["http-proto", "reqwest-client"] }
opentelemetry-semantic-conventions = "0.29"
tracing-opentelemetry = "0.30"
# Configuration
dirs = "6.0"
config = "0.15"
toml = "0.8"
toml_edit = "0.22"
arc-swap = "1"
notify = "7"
# Cryptography (for secrets)
aes-gcm = "0.10"
sha2 = "0.10"
rand = "0.9"
# UUID generation
uuid = { version = "1.15", features = ["v4", "serde"] }
# Time handling
chrono = { version = "0.4", features = ["serde"] }
# Regular expressions (for leak detection)
regex = "1.11"
# Async utilities
futures = "0.3"
pin-project = "1"
# Schema validation
schemars = "0.8"
# Command line (for main.rs)
clap = { version = "4.5", features = ["derive"] }
dialoguer = { version = "0.11", features = ["password"] }
# Daemonization
daemonize = "0.5"
libc = "0.2"
# Discord
serenity = { version = "0.12", default-features = false, features = ["client", "gateway", "model", "cache", "chrono", "rustls_backend"] }
async-trait = "0.1"
# Slack
slack-morphism = { version = "2.17", features = ["hyper"] }
# TLS (shared crypto backend for slack-morphism, reqwest, teloxide)
rustls = { version = "0.23", default-features = false, features = ["ring"] }
# Telegram
teloxide = { version = "0.17", default-features = false, features = ["rustls"] }
# Twitch
twitch-irc = { version = "5.0", default-features = false, features = ["transport-tcp-rustls-webpki-roots"] }
# Stream utilities
tokio-stream = "0.1"
# HTTP server for control UI
axum = { version = "0.8", features = ["multipart"] }
tower-http = { version = "0.6", features = ["cors", "fs"] }
rust-embed = { version = "8", features = ["mime-guess"] }
mime_guess = "2"
async-stream = "0.3"
# Indoc for test fixtures
indoc = "2"
arrow-array = "57.3.0"
arrow-schema = "57.3.0"
# Browser automation
chromiumoxide = { version = "0.8", features = ["tokio-runtime"], default-features = false }
chromiumoxide_cdp = "0.8"
# Templating for prompts
minijinja = "2.8"
# Docker API client (for self-update via Docker socket)
bollard = "0.18"
# Semver parsing (for update version comparison)
semver = "1"
# Skill installation
zip = "2"
tempfile = "3"
# Prometheus metrics (optional, behind "metrics" feature)
prometheus = { version = "0.13", optional = true }
pdf-extract = "0.10.0"
[features]
metrics = ["dep:prometheus"]
[lints.clippy]
dbg_macro = "forbid"
todo = "forbid"
unimplemented = "forbid"
[dev-dependencies]
tokio-test = "0.4"
[profile.release]
lto = "thin"
strip = true