[dependencies.async-trait]
version = "0.1.42"
[dependencies.bytes]
version = "1.0"
[dependencies.clap]
features = ["derive"]
version = "3.2.25"
[dependencies.futures]
version = "0.3"
[dependencies.h2]
version = ">=0.4.6"
[dependencies.http]
version = "1.0.0"
[dependencies.log]
version = "0.4"
[dependencies.once_cell]
version = "1"
[dependencies.pingora-cache]
default-features = false
version = "0.4.0"
[dependencies.pingora-core]
default-features = false
version = "0.4.0"
[dependencies.pingora-error]
version = "0.4.0"
[dependencies.pingora-http]
version = "0.4.0"
[dependencies.pingora-timeout]
version = "0.4.0"
[dependencies.regex]
version = "1"
[dependencies.tokio]
features = ["macros", "net"]
version = "1"
[dev-dependencies.env_logger]
version = "0.9"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.hyper]
version = "0.14"
[dev-dependencies.pingora-limits]
version = "0.4.0"
[dev-dependencies.pingora-load-balancing]
default-features = false
version = "0.4.0"
[dev-dependencies.prometheus]
version = "0"
[dev-dependencies.reqwest]
default-features = false
features = ["gzip", "rustls-tls"]
version = "0.11"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serde_yaml]
version = "0.8"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tokio-tungstenite]
version = "0.20.1"
[[example]]
name = "ctx"
path = "examples/ctx.rs"
[[example]]
name = "gateway"
path = "examples/gateway.rs"
[[example]]
name = "grpc_web_module"
path = "examples/grpc_web_module.rs"
[[example]]
name = "load_balancer"
path = "examples/load_balancer.rs"
[[example]]
name = "modify_response"
path = "examples/modify_response.rs"
[[example]]
name = "multi_lb"
path = "examples/multi_lb.rs"
[[example]]
name = "rate_limiter"
path = "examples/rate_limiter.rs"
[[example]]
name = "use_module"
path = "examples/use_module.rs"
[features]
any_tls = []
boringssl = ["pingora-core/boringssl", "pingora-cache/boringssl", "openssl_derived"]
default = []
openssl = ["pingora-core/openssl", "pingora-cache/openssl", "openssl_derived"]
openssl_derived = ["any_tls"]
rustls = ["pingora-core/rustls", "pingora-cache/rustls", "any_tls"]
sentry = ["pingora-core/sentry"]
[lib]
name = "pingora_proxy"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(doc_async_trait)"]
level = "warn"
priority = 0
[package]
authors = ["Yuchen Wu <yuchen@cloudflare.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["asynchronous", "network-programming"]
description = """
Pingora HTTP proxy APIs and traits.
"""
edition = "2021"
exclude = ["tests/*"]
keywords = ["async", "http", "proxy", "pingora"]
license = "Apache-2.0"
name = "pingora-proxy"
readme = false
repository = "https://github.com/cloudflare/pingora"
version = "0.4.0"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "doc_async_trait"]
[target."cfg(unix)".dev-dependencies.hyperlocal]
version = "0.8"