omnillm 0.1.5

Production-grade LLM API gateway with multi-key load balancing, per-key rate limiting, circuit breaking, and cost tracking
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 = "2021"
rust-version = "1.75"
name = "omnillm"
version = "0.1.5"
build = false
include = [
    "/Cargo.toml",
    "/Cargo.lock",
    "/README.md",
    "/.env.example",
    "/src/**",
    "/examples/**",
    "/support/provider_support_matrix.json",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-grade LLM API gateway with multi-key load balancing, per-key rate limiting, circuit breaking, and cost tracking"
homepage = "https://github.com/aiomni/omnillm"
documentation = "https://docs.rs/omnillm"
readme = "README.md"
keywords = [
    "llm",
    "gateway",
    "rate-limiting",
    "load-balancing",
    "openai",
]
categories = [
    "api-bindings",
    "asynchronous",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aiomni/omnillm"

[features]
default = ["rustls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]

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

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "multi_endpoint_demo"
path = "examples/multi_endpoint_demo.rs"

[[example]]
name = "primitive_p1_metadata_demo"
path = "examples/primitive_p1_metadata_demo.rs"

[[example]]
name = "primitive_protocol_demo"
path = "examples/primitive_protocol_demo.rs"

[[example]]
name = "primitive_transport_modes"
path = "examples/primitive_transport_modes.rs"

[[example]]
name = "responses_live_demo"
path = "examples/responses_live_demo.rs"

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.futures-util]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "time",
    "sync",
    "macros",
]

[dependencies.tokio-tungstenite]
version = "0.26"
features = [
    "connect",
    "rustls-tls-webpki-roots",
]
default-features = false

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

[dev-dependencies.dotenvy]
version = "0.15"

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