[package]
edition = "2021"
name = "waf-proxy"
version = "0.4.0"
authors = ["0x00spor3"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Light WAF: a fast, modular Layer-7 Web Application Firewall reverse proxy in Rust."
homepage = "https://github.com/0x00spor3/Light-WAF"
readme = "README.md"
keywords = [
"waf",
"security",
"firewall",
"reverse-proxy",
"proxy",
]
categories = [
"web-programming::http-server",
"network-programming",
"command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/0x00spor3/Light-WAF"
[lib]
name = "waf_proxy"
path = "src/lib.rs"
[[bin]]
name = "waf"
path = "src/main.rs"
[[example]]
name = "load_overhead"
path = "examples/load_overhead.rs"
[[test]]
name = "crs"
path = "tests/crs.rs"
[[test]]
name = "decision_log"
path = "tests/decision_log.rs"
[[test]]
name = "grpc"
path = "tests/grpc.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "metrics"
path = "tests/metrics.rs"
[[test]]
name = "tls"
path = "tests/tls.rs"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"http1",
"http2",
"server",
"client",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"client-legacy",
"http1",
"http2",
"server-auto",
]
[dependencies.rustls-pemfile]
version = "2"
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"net",
"macros",
"time",
"signal",
]
[dependencies.tokio-rustls]
version = "0.26"
features = [
"ring",
"tls12",
]
default-features = false
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.waf-core]
version = "0.4.0"
[dependencies.waf-detection]
version = "0.4.0"
[dependencies.waf-normalizer]
version = "0.4.0"
[dependencies.waf-pipeline]
version = "0.4.0"
[dependencies.waf-wasm]
version = "0.4.0"
[dev-dependencies.rcgen]
version = "0.13"
features = [
"ring",
"pem",
]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"net",
"macros",
"time",
"io-util",
]