mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
* refactor(python-bridge): split non-streaming bridge modules * refactor(python-bridge): bring shared function tracing into route layer * feat(dev): list Python route functions and call sites * feat(dev): list Rust route functions and call sites * docs(dev): record OCR parity gaps across Python and Rust * feat(dev): list executed SDK calls with runtime tracing * feat(dev): report Python vs Rust SDK pipeline steps in one CLI * feat(dev): side-by-side pipeline step report in compare CLI * fix(dev): drop invalid Final annotations in compare cell loop * feat(dev): blue python-only and yellow rust-only steps in compare CLI * feat(dev): vertical layout with section spacing in compare CLI * fix(dev): validate SDK trace stages across sync and async routes * refactor(rust): align SDK route call structure with Python * refactor(python-bridge): share sync and async route call wrappers * refactor(dev): split compare CLI into fixtures, runtime, and report modules * fix(ci): run SDK trace tests and satisfy test lint
45 lines
1.5 KiB
TOML
45 lines
1.5 KiB
TOML
[package]
|
|
name = "litellm-ai-gateway"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
name = "litellm_ai_gateway"
|
|
|
|
[[bin]]
|
|
name = "litellm-ai-gateway"
|
|
path = "src/main.rs"
|
|
required-features = ["server"]
|
|
|
|
[dependencies]
|
|
tracing.workspace = true
|
|
litellm-core = { workspace = true, features = ["bedrock-auth"] }
|
|
# reqwest (rustls + json) is used by io/ocr and ships realtime logs to the
|
|
# Python proxy callbacks API.
|
|
reqwest.workspace = true
|
|
# `sync` powers the bounded mpsc channel the realtime logger drains.
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "net", "time", "sync"] }
|
|
tokio-tungstenite.workspace = true
|
|
futures-util.workspace = true
|
|
serde_json.workspace = true
|
|
base64.workspace = true
|
|
axum = { workspace = true, features = ["ws"], optional = true }
|
|
serde.workspace = true
|
|
subtle = { workspace = true, optional = true }
|
|
# sha2 hashes the master key into user_api_key_hash (matches the proxy's
|
|
# SHA-256 hash_token) so the plaintext credential never enters a log payload.
|
|
sha2 = { workspace = true, optional = true }
|
|
pyo3 = { workspace = true, features = ["auto-initialize"], optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
server = ["dep:axum", "dep:subtle", "dep:sha2"]
|
|
# Build the gateway's config from the proxy YAML via an embedded Python
|
|
# interpreter (links libpython; requires `litellm` importable at runtime).
|
|
python-config = ["dep:pyo3"]
|
|
|
|
[dev-dependencies]
|
|
futures-channel = "0.3"
|
|
tower = { version = "0.5.3", features = ["util"] }
|