[package]
edition = "2021"
rust-version = "1.88"
name = "proxyapi"
version = "0.2.0"
authors = ["Emanuele Micheletti <micheletti.emanuele@hotmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for the Proxelar MITM proxy"
readme = false
license = "MIT"
repository = "https://github.com/emanuele-em/proxelar"
[lib]
name = "proxyapi"
path = "src/lib.rs"
[[test]]
name = "cert_authority"
path = "tests/cert_authority.rs"
[[test]]
name = "cert_server"
path = "tests/cert_server.rs"
[[test]]
name = "forward_proxy"
path = "tests/forward_proxy.rs"
[[test]]
name = "reverse_proxy"
path = "tests/reverse_proxy.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.bstr]
version = "1.11"
[dependencies.bytes]
version = "1.9"
[dependencies.chrono]
version = "0.4"
[dependencies.http]
version = "1.2"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1.8"
features = [
"http1",
"server",
"client",
]
[dependencies.hyper-rustls]
version = "0.27"
features = [
"http1",
"logging",
"tls12",
"ring",
"webpki-tokio",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"server-auto",
"client-legacy",
"http1",
]
[dependencies.moka]
version = "0.12"
features = ["future"]
[dependencies.openssl]
version = "0.10.68"
features = ["vendored"]
[dependencies.proxyapi_models]
version = "0.2.0"
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"logging",
"std",
"tls12",
]
default-features = false
[dependencies.rustls-pki-types]
version = "1.11"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.43"
features = [
"rt",
"net",
"io-util",
"macros",
"sync",
"time",
]
[dependencies.tokio-rustls]
version = "0.26"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
[dev-dependencies.rustls]
version = "0.23"
features = ["ring"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.43"
features = ["full"]
[dev-dependencies.tokio-test]
version = "0.4"