[package]
edition = "2021"
rust-version = "1.87"
name = "foundation_proxy"
version = "0.1.2"
authors = ["EweStudios Consulting Limited"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reverse proxy — SSL termination, zero-downtime deploys, health-check routing"
readme = false
license = "Apache-2.0"
repository = "https://github.com/ewe-studios/ewe_platform"
resolver = "3"
[features]
cloudflare = ["foundation_deployment_cloudflare"]
default = []
docker-tests = []
quic = [
"foundation_http/quic",
"foundation_netio/quic",
]
[lib]
name = "foundation_proxy"
path = "src/lib.rs"
[[test]]
name = "acme_provisioning_tests"
path = "tests/acme_provisioning_tests.rs"
[[test]]
name = "backend_target_tests"
path = "tests/backend_target_tests.rs"
[[test]]
name = "balancer_tests"
path = "tests/balancer_tests.rs"
[[test]]
name = "completion_splice_tests"
path = "tests/completion_splice_tests.rs"
[[test]]
name = "config_tests"
path = "tests/config_tests.rs"
[[test]]
name = "control_socket_tests"
path = "tests/control_socket_tests.rs"
[[test]]
name = "diag_client_tap"
path = "tests/diag_client_tap.rs"
[[test]]
name = "forward_headers_tests"
path = "tests/forward_headers_tests.rs"
[[test]]
name = "h2_integration_tests"
path = "tests/h2_integration_tests.rs"
[[test]]
name = "h3_integration_tests"
path = "tests/h3_integration_tests.rs"
required-features = ["quic"]
[[test]]
name = "health_state_tests"
path = "tests/health_state_tests.rs"
[[test]]
name = "load_balancer_tests"
path = "tests/load_balancer_tests.rs"
[[test]]
name = "persistence_restart_tests"
path = "tests/persistence_restart_tests.rs"
[[test]]
name = "persistence_tests"
path = "tests/persistence_tests.rs"
[[test]]
name = "proxy_features_tests"
path = "tests/proxy_features_tests.rs"
[[test]]
name = "proxy_integration_tests"
path = "tests/proxy_integration_tests.rs"
required-features = ["docker-tests"]
[[test]]
name = "proxy_macro_tests"
path = "tests/proxy_macro_tests.rs"
[[test]]
name = "router_tests"
path = "tests/router_tests.rs"
[[test]]
name = "rpc_deadline_tests"
path = "tests/rpc_deadline_tests.rs"
[[test]]
name = "rpc_health_tests"
path = "tests/rpc_health_tests.rs"
[[test]]
name = "rpc_proxy_e2e_tests"
path = "tests/rpc_proxy_e2e_tests.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.derive_more]
version = ">=2.0"
features = ["full"]
[dependencies.foundation_connectrpc]
version = "0.0.3"
default-features = false
[dependencies.foundation_core]
version = "0.0.6"
features = ["multi"]
[dependencies.foundation_db]
version = "0.0.4"
[dependencies.foundation_deployment_cloudflare]
version = "0.1.3"
optional = true
[dependencies.foundation_errstacks]
version = "0.0.3"
[dependencies.foundation_http]
version = "0.0.3"
features = [
"multi",
"ssl",
]
[dependencies.foundation_iogate]
version = "0.0.3"
[dependencies.foundation_macros]
version = "0.0.6"
[dependencies.foundation_nativeapis]
version = "0.0.3"
features = ["fd"]
[dependencies.foundation_netio]
version = "0.0.4"
features = [
"ssl",
"multi",
]
[dependencies.futures-lite]
version = "2"
[dependencies.futures-util]
version = "0.3"
[dependencies.p256]
version = "0.13"
features = [
"ecdsa",
"pem",
]
[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]
[dependencies.rcgen]
version = "0.13"
features = [
"ring",
"pem",
"x509-parser",
]
default-features = false
[dependencies.serde]
version = "1.0.197"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.114"
[dependencies.sha2]
version = "0.10"
[dependencies.toml]
version = "0.9"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.rustls-pki-types]
version = "1"
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"net",
]
[dev-dependencies.tracing-test]
version = "0.2"
features = ["no-env-filter"]
[lints.clippy.pedantic]
level = "warn"
priority = 0
[lints.rust.missing_debug_implementations]
level = "allow"
priority = 0
[lints.rust.missing_docs]
level = "allow"
priority = 0