# 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 = "arbiter-oauth"
version = "0.0.43"
authors = ["Cyrene Ireland"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OAuth 2.1 JWT validation middleware for Arbiter proxy"
homepage = "https://cyrenei.github.io/arbiter-mcp-firewall"
readme = false
keywords = [
    "mcp",
    "firewall",
    "proxy",
    "security",
    "ai-agent",
]
categories = [
    "authentication",
    "network-programming",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/cyrenei/mcp-proxy-firewall"
resolver = "2"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arbiter-proxy]
version = "0.0.43"

[dependencies.bytes]
version = "1"

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

[dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
]

[dependencies.jsonwebtoken]
version = "9"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.toml]
version = "0.8"
