# 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"
name = "maple-proxy"
version = "0.1.4"
authors = ["OpenSecret"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight OpenAI-compatible proxy server for Maple/OpenSecret TEE infrastructure"
homepage = "https://github.com/OpenSecret/maple-proxy"
readme = "README.md"
keywords = [
    "openai",
    "proxy",
    "tee",
    "opensecret",
    "maple",
]
categories = [
    "web-programming::http-server",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/OpenSecret/maple-proxy"

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

[[bin]]
name = "maple-proxy"
path = "src/main.rs"

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.axum]
version = "0.8.4"
features = [
    "http2",
    "macros",
]

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.dotenvy]
version = "0.15"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1.0"

[dependencies.opensecret]
version = "0.2.3"

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.tower]
version = "0.5.2"
features = ["full"]

[dependencies.tower-http]
version = "0.6.6"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]

[dev-dependencies.axum-test]
version = "18.0.1"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio-test]
version = "0.4"

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