proxyapi 0.3.0

Core library for the Proxelar MITM 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 = "2021"
rust-version = "1.94"
name = "proxyapi"
version = "0.3.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"

[features]
default = []
scripting = ["mlua"]

[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.mlua]
version = "0.10"
features = [
    "lua54",
    "vendored",
    "send",
]
optional = true

[dependencies.moka]
version = "0.12"
features = ["future"]

[dependencies.openssl]
version = "0.10.76"
features = ["vendored"]

[dependencies.proxyapi_models]
version = "0.3.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.50"
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.50"
features = ["full"]

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