Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (41 loc) · 1.46 KB
/
Copy pathCargo.toml
File metadata and controls
52 lines (41 loc) · 1.46 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
[package]
name = "silt"
version = "0.1.4"
edition = "2021"
description = "A transparent batching proxy for the OpenAI API that accumulates real-time requests and dispatches at intervals using the OpenAI Batch API to achieve ~50% cost savings"
license = "MIT"
repository = "https://github.com/doublewordai/silt"
homepage = "https://github.com/doublewordai/silt"
keywords = ["openai", "batch", "proxy", "api", "cost-optimization"]
categories = ["web-programming", "api-bindings"]
[dependencies]
# Async runtime
tokio = { version = "1.42", features = ["full"] }
futures-util = "0.3"
# HTTP server
axum = { version = "0.7", features = ["macros"] }
tower = { version = "0.5", features = ["timeout"] }
tower-http = { version = "0.6", features = ["trace", "cors"] }
hyper = { version = "1.5", features = ["full"] }
hyper-util = { version = "0.1", features = ["tokio"] }
# HTTP client
reqwest = { version = "0.12", features = ["json", "rustls-tls", "multipart"], default-features = false }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Redis
redis = { version = "0.27", features = ["tokio-comp", "connection-manager"] }
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Config
dotenv = "0.15"
# UUID
uuid = { version = "1.11", features = ["v4", "serde"] }
# Time
chrono = { version = "0.4", features = ["serde"] }
# Socket configuration
socket2 = "0.5"