# 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 = "orca-proxy"
version = "0.2.7"
authors = ["Sharang <sharang@meghsakha.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reverse proxy with HTTP routing and Wasm trigger dispatch"
readme = false
license = "AGPL-3.0"
repository = "https://github.com/mighty840/orca"
resolver = "2"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.dirs]
version = "6"

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

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

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "http1",
    "client-legacy",
]

[dependencies.instant-acme]
version = "0.8"

[dependencies.orca-core]
version = "0.2.7"

[dependencies.rcgen]
version = "0.13"

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

[dependencies.rustls]
version = "0.23"

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.filetime]
version = "0.2"

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