blob: 298630facebe59a4b898873ba51009c427b8b3f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
[package]
name = "pingora-load-balancing"
version = "0.4.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.4.0", path = "../pingora-http" }
pingora-error = { version = "0.4.0", path = "../pingora-error" }
pingora-core = { version = "0.4.0", path = "../pingora-core", default-features = false }
pingora-ketama = { version = "0.4.0", path = "../pingora-ketama" }
pingora-runtime = { version = "0.4.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 = ["pingora-core/openssl", "openssl_derived"]
boringssl = ["pingora-core/boringssl", "openssl_derived"]
rustls = ["pingora-core/rustls", "any_tls"]
openssl_derived = ["any_tls"]
any_tls = []
|