agent-proxy-rust-core 1.0.0

Core middleware trait, axum server engine, upstream forwarding, and auth for agent-proxy
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-core"
version = "1.0.0"
authors = ["baoyx <baoyx19870908@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core middleware trait, axum server engine, upstream forwarding, and auth for agent-proxy"
homepage = "https://github.com/TokenFleet-AI/agent-proxy-rust"
documentation = "https://docs.rs/agent-proxy-rust"
readme = false
keywords = [
    "ai",
    "proxy",
    "middleware",
    "llm",
]
categories = ["development-tools"]
license = "Apache-2.0"
repository = "https://github.com/TokenFleet-AI/agent-proxy-rust"

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

[dependencies.anyhow]
version = "1.0.102"

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

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

[dependencies.bytes]
version = "1"

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

[dependencies.dashmap]
version = "6"

[dependencies.dirs]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.llm-bridge-core]
version = "0.2"

[dependencies.pin-project-lite]
version = "0.2"

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

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0.142"

[dependencies.thiserror]
version = "2.0.18"

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

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

[dependencies.tower-http]
version = "0.6"
features = ["limit"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "fast-rng",
]

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

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

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

[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"