-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (71 loc) · 2.4 KB
/
Cargo.toml
File metadata and controls
88 lines (71 loc) · 2.4 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
[workspace]
resolver = "2"
members = ["cortex-server", "cortex-oauth"]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT"
rust-version = "1.75.0"
[workspace.dependencies]
# Async runtime
tokio = { version = "1.0", features = ["full"] }
tokio-util = "0.7"
async-trait = "0.1"
futures = "0.3"
pin-project-lite = "0.2"
# Web framework
axum = { version = "0.7", features = ["ws", "multipart"] }
axum-extra = { version = "0.9", features = ["typed-header"] }
tower = { version = "0.4", features = ["full"] }
tower-http = { version = "0.5", features = ["cors", "trace", "fs", "compression-gzip", "set-header"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
serde_yaml = "0.9"
# Database
# Note: We include sqlite, mysql, and postgres but don't use the "any" feature
# because it has limitations. Instead, we use conditional compilation.
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "sqlite", "mysql", "postgres", "migrate", "chrono", "json"] }
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# HTTP Client
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls", "multipart"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Data types
uuid = { version = "1.0", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
base64 = "0.22"
url = { version = "2.5", features = ["serde"] }
bytes = "1.0"
# Crypto
aes-gcm = "0.10"
sha2 = "0.10"
hex = "0.4"
rand = "0.9"
# Config
dotenvy = "0.15"
clap = { version = "4.0", features = ["derive", "env"] }
# serdesAI crates
serdes-ai-core = "0.1.5"
serdes-ai-models = { version = "0.1.5", features = ["antigravity"] }
serdes-ai-providers = { version = "0.1.5", features = ["anthropic", "google", "openai", "ollama", "groq", "mistral", "azure", "bedrock"] }
serdes-ai-streaming = "0.1.5"
serdes-ai-tools = "0.1.5"
serdes-ai-retries = "0.1.5"
# Metrics
prometheus = "0.13"
once_cell = "1.0"
# OpenTelemetry
opentelemetry = "0.27"
opentelemetry_sdk = { version = "0.27", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.27", features = ["tonic"] }
tracing-opentelemetry = "0.28"
# Concurrent data structures
dashmap = "6.0"
# TLS termination (opt-in)
axum-server = { version = "0.7", features = ["tls-rustls"] }
# Regex for parsing
regex = "1.10"