blob: 73a917be060a8d46c8d0b343e5fcf99a7d3fd1d1 (
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
|
[package]
name = "pingora-load-balancing"
version = "0.2.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.2.0", path = "../pingora-http" }
pingora-error = { version = "0.2.0", path = "../pingora-error" }
pingora-core = { version = "0.2.0", path = "../pingora-core", default-features = false }
pingora-ketama = { version = "0.2.0", path = "../pingora-ketama" }
pingora-runtime = { version = "0.2.0", path = "../pingora-runtime" }
arc-swap = "1"
fnv = "1"
rand = "0"
tokio = { workspace = true }
futures = "0"
log = { workspace = true }
[dev-dependencies]
[features]
default = ["openssl"]
openssl = ["pingora-core/openssl"]
boringssl = ["pingora-core/boringssl"]
|