mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-20 08:01:46 +00:00
Support Responses, Chat Completions and Messages ingress with Responses or Messages API upstreams in the existing OpenAI provider. Share generation admission and delivery, preserve native protocol payloads, and translate cross-protocol tools, reasoning, streams and usage. Add Messages token counting and editable upstream protocol settings. Co-authored-by: Codex <noreply@openai.com>
41 lines
916 B
TOML
41 lines
916 B
TOML
[package]
|
|
name = "gateway-core"
|
|
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]
|
|
async-trait = "0.1.89"
|
|
base64 = "0.23.0"
|
|
bytes = "1.11.1"
|
|
chrono = { version = "0.4.45", features = ["serde"] }
|
|
chrono-tz = { version = "0.10", features = ["serde"] }
|
|
cron = "0.17"
|
|
event-listener = "5.4.2"
|
|
futures = "0.3.32"
|
|
http = "1.5.0"
|
|
http-body-util = "0.1.5"
|
|
futures-timer = "3.0.3"
|
|
gateway-protocol = { path = "../gateway-protocol" }
|
|
serde = { version = "1.0.228", features = ["derive", "rc"] }
|
|
serde_json = { version = "1.0.150", features = ["arbitrary_precision", "preserve_order"] }
|
|
sha2 = "0.11.0"
|
|
semver = "1.0.27"
|
|
thiserror = "2.0.18"
|
|
tracing = "0.1.44"
|
|
uuid = { version = "1.23.3", features = ["v7"] }
|
|
url = "2.5.8"
|
|
|
|
[dev-dependencies]
|
|
allocation-counter = "0.8.1"
|
|
|
|
[lints]
|
|
workspace = true
|