crabllm-proxy 0.0.22

HTTP proxy server for the crabllm LLM API gateway
Documentation
# 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"
name = "crabllm-proxy"
version = "0.0.22"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP proxy server for the crabllm LLM API gateway"
readme = "README.md"
keywords = [
    "llm",
    "proxy",
    "openai",
    "streaming",
    "gateway",
]
categories = [
    "web-programming::http-server",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crabtalk/crabllm"

[features]
default = [
    "hyper",
    "native-tls",
    "http2",
]
http2 = ["crabllm-provider/http2"]
hyper = ["crabllm-provider/hyper"]
native-tls = ["crabllm-provider/native-tls"]
openapi = [
    "crabllm-core/openapi",
    "utoipa",
]
reqwest = ["crabllm-provider/reqwest"]
rustls = ["crabllm-provider/rustls"]
sonic = [
    "crabllm-core/sonic",
    "crabllm-provider/sonic",
]
storage-redis = ["redis"]
storage-sqlite = ["sqlx"]

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

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

[dependencies.arc-swap]
version = "1"

[dependencies.axum]
version = "0.8"
features = ["multipart"]

[dependencies.bytes]
version = "1"

[dependencies.crabllm-core]
version = "0.0.22"
features = ["gateway"]

[dependencies.crabllm-provider]
version = "0.0.22"
default-features = false

[dependencies.dashmap]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.http-body-util]
version = "0.1"

[dependencies.metrics]
version = "0.24"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.9"

[dependencies.redis]
version = "1"
features = [
    "aio",
    "tokio-comp",
]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "sqlite",
]
optional = true

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

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5"
features = ["axum_extras"]
optional = true

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