-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (45 loc) · 1.37 KB
/
Cargo.toml
File metadata and controls
55 lines (45 loc) · 1.37 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
[package]
name = "maple-proxy"
version = "0.1.7"
edition = "2021"
authors = ["OpenSecret"]
description = "Lightweight OpenAI-compatible proxy server for Maple/OpenSecret TEE infrastructure"
license = "MIT"
repository = "https://github.com/OpenSecret/maple-proxy"
homepage = "https://github.com/OpenSecret/maple-proxy"
keywords = ["openai", "proxy", "tee", "opensecret", "maple"]
categories = ["web-programming::http-server", "api-bindings"]
[lib]
name = "maple_proxy"
path = "src/lib.rs"
[[bin]]
name = "maple-proxy"
path = "src/main.rs"
[dependencies]
# OpenSecret SDK
opensecret = "0.2.9"
# Web server
axum = { version = "0.8.4", features = ["http2", "macros"] }
tokio = { version = "1.47", features = ["net", "rt-multi-thread", "macros"] }
tower = { version = "0.5.2", features = ["full"] }
tower-http = { version = "0.6.6", features = ["cors", "trace"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Streaming support
futures = "0.3"
async-stream = "0.3"
# Configuration and environment
clap = { version = "4.5", features = ["derive", "env"] }
dotenvy = "0.15"
# Utilities
tracing = "0.1"
tracing-subscriber = { version = "0.3.20", features = ["env-filter"] }
anyhow = "1.0"
# HTTP types and headers
http = "1.0"
[dev-dependencies]
axum-test = "18.0.1"
tokio-test = "0.4"
tower = { version = "0.5.2", features = ["util"] }
serde_json = "1.0"