agent-proxy-rust-model-router 1.0.0

Model routing and channel selection middleware for agent-proxy-rust
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 = "agent-proxy-rust-model-router"
version = "1.0.0"
authors = ["baoyx <baoyx19870908@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Model routing and channel selection middleware for agent-proxy-rust"
homepage = "https://github.com/TokenFleet-AI/agent-proxy-rust"
documentation = "https://docs.rs/agent-proxy-rust"
readme = false
keywords = [
    "proxy",
    "model",
    "router",
    "channel",
]
categories = ["development-tools"]
license = "Apache-2.0"
repository = "https://github.com/TokenFleet-AI/agent-proxy-rust"

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

[dependencies.agent-proxy-rust-core]
version = "1.0.0"

[dependencies.agent-proxy-rust-storage]
version = "1.0.0"

[dependencies.anyhow]
version = "1.0.102"

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

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

[dependencies.bytes]
version = "1"

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

[dependencies.dashmap]
version = "6"

[dependencies.http]
version = "1"

[dependencies.secrecy]
version = "0.10"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0.142"

[dependencies.tokio]
version = "1.52"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.rstest]
version = "0.24"

[dev-dependencies.tokio]
version = "1.52"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "rt",
    "macros",
]

[lints.clippy]
expect_used = "warn"
panic = "warn"
pedantic = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"