mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
999e379064
Sometimes service dicovery can carry arbitrary information, such as SNI and request path to instrument how to connect to backend servers. Backend now support to carry this type of information.
40 lines
1.2 KiB
TOML
40 lines
1.2 KiB
TOML
[package]
|
|
name = "pingora-load-balancing"
|
|
version = "0.3.0"
|
|
authors = ["Yuchen Wu <yuchen@cloudflare.com>"]
|
|
license = "Apache-2.0"
|
|
edition = "2021"
|
|
repository = "https://github.com/cloudflare/pingora"
|
|
categories = ["network-programming"]
|
|
keywords = ["proxy", "pingora"]
|
|
description = """
|
|
Common load balancing features for Pingora proxy.
|
|
"""
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[lib]
|
|
name = "pingora_load_balancing"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
pingora-http = { version = "0.3.0", path = "../pingora-http" }
|
|
pingora-error = { version = "0.3.0", path = "../pingora-error" }
|
|
pingora-core = { version = "0.3.0", path = "../pingora-core", default-features = false }
|
|
pingora-ketama = { version = "0.3.0", path = "../pingora-ketama" }
|
|
pingora-runtime = { version = "0.3.0", path = "../pingora-runtime" }
|
|
arc-swap = "1"
|
|
fnv = "1"
|
|
rand = "0"
|
|
tokio = { workspace = true }
|
|
futures = "0"
|
|
log = { workspace = true }
|
|
http = { workspace = true }
|
|
derivative = "2.2.0"
|
|
|
|
[dev-dependencies]
|
|
|
|
[features]
|
|
default = ["openssl"]
|
|
openssl = ["pingora-core/openssl"]
|
|
boringssl = ["pingora-core/boringssl"]
|