mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-20 16:01:55 +00:00
Co-authored-by: Zyy <zyycn@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
54 lines
1.9 KiB
TOML
54 lines
1.9 KiB
TOML
[package]
|
|
name = "gateway-api"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "Apache-2.0"
|
|
publish = false
|
|
rust-version = "1.99.1"
|
|
autotests = false
|
|
|
|
[[test]]
|
|
name = "main"
|
|
path = "tests/main.rs"
|
|
|
|
[dependencies]
|
|
axum = { version = "0.8.9", default-features = false, features = ["json", "matched-path", "multipart", "query", "ws"] }
|
|
base64 = "0.23.0"
|
|
bytes = "1.11.1"
|
|
chrono = { version = "0.4.45", features = ["serde"] }
|
|
flate2 = "1.1.9"
|
|
futures = "0.3.32"
|
|
http = "1.5.0"
|
|
http-body = "1.0.1"
|
|
http-body-util = "0.1.5"
|
|
gateway-admin = { path = "../gateway-admin" }
|
|
gateway-core = { path = "../gateway-core" }
|
|
gateway-protocol = { path = "../gateway-protocol" }
|
|
headers = "0.4.1"
|
|
hyper = { version = "=1.11.1", default-features = false }
|
|
hyper-util = { version = "=0.1.21", default-features = false, features = ["tokio"] }
|
|
regex = "1.13.1"
|
|
secrecy = "0.10"
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
serde_json = { version = "1.0.150", features = ["arbitrary_precision", "preserve_order"] }
|
|
sha2 = "0.11.0"
|
|
thiserror = "2.0.18"
|
|
tokio = { version = "1.52.3", default-features = false, features = ["io-util", "macros", "rt", "sync", "time"] }
|
|
tokio-tungstenite = { version = "0.29.0", default-features = false, features = ["handshake"] }
|
|
tower = { version = "0.5.3", features = ["util"] }
|
|
tower-http = { version = "0.7.0", features = ["compression-gzip", "cors", "fs", "request-id", "timeout", "trace"] }
|
|
tracing = "0.1.44"
|
|
url = "2.5.8"
|
|
uuid = { version = "1.23.3", features = ["v7"] }
|
|
zstd = "=0.14.3"
|
|
zip = { version = "9.0.4", default-features = false, features = ["deflate-flate2"] }
|
|
|
|
[dev-dependencies]
|
|
async-trait = "0.1.89"
|
|
axum = { version = "0.8.9", default-features = false, features = ["http1", "tokio"] }
|
|
tokio = { version = "1.52.3", default-features = false, features = ["macros", "net", "rt-multi-thread", "test-util"] }
|
|
tokio-tungstenite = "0.29.0"
|
|
|
|
[lints]
|
|
workspace = true
|