crabllm 0.0.18

High-performance LLM API gateway — binary
# 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"
version = "0.0.18"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance LLM API gateway — binary"
readme = "README.md"
keywords = [
    "llm",
    "gateway",
    "proxy",
    "openai",
    "anthropic",
]
categories = [
    "command-line-utilities",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crabtalk/crabllm"

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

[[bin]]
name = "crabllm"
path = "src/bin/main.rs"

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

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

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

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

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

[dependencies.crabllm-proxy]
version = "0.0.18"
default-features = false

[dependencies.metrics-exporter-prometheus]
version = "0.18"
features = ["http-listener"]
default-features = false

[dependencies.serde_json]
version = "1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
]

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

[dependencies.utoipa-scalar]
version = "0.3"
features = ["axum"]
optional = true