lingshu-proxy 0.10.0

Local OpenAI-compatible proxy for subscription/OAuth LLM backends
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.97.0"
name = "lingshu-proxy"
version = "0.10.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local OpenAI-compatible proxy for subscription/OAuth LLM backends"
readme = false
license = "Apache-2.0"
resolver = "2"

[lib]
name = "lingshu_proxy"
path = "src/lib.rs"

[[test]]
name = "e2e_forward_http"
path = "tests/e2e_forward_http.rs"

[[test]]
name = "e2e_grok_xai_http"
path = "tests/e2e_grok_xai_http.rs"

[[test]]
name = "e2e_hermes_auth_http"
path = "tests/e2e_hermes_auth_http.rs"

[[test]]
name = "e2e_nous_portal_401_retry_http"
path = "tests/e2e_nous_portal_401_retry_http.rs"

[[test]]
name = "e2e_nous_portal_http"
path = "tests/e2e_nous_portal_http.rs"

[[test]]
name = "e2e_nous_portal_quarantine_http"
path = "tests/e2e_nous_portal_quarantine_http.rs"

[[test]]
name = "e2e_proxy_http"
path = "tests/e2e_proxy_http.rs"

[[test]]
name = "e2e_xai_oauth_http"
path = "tests/e2e_xai_oauth_http.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.7"
features = ["ws"]

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "5"

[dependencies.edgequake-llm]
version = "0.6.25"
features = ["bedrock"]

[dependencies.futures]
version = "0.3"

[dependencies.libc]
version = "0.2"

[dependencies.lingshu-core]
version = "0.10.0"

[dependencies.lingshu-security]
version = "0.10.0"

[dependencies.lingshu-tools]
version = "0.10.0"

[dependencies.lingshu-types]
version = "0.10.0"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
    "multipart",
    "socks",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.edgequake-llm]
version = "0.6.25"
features = ["bedrock"]

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tower]
version = "0.5"
features = ["util"]