aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-load-balancing/Cargo.toml
blob: 523e2f415da43b56ae54754db5e8ac18b2e41f1f (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
[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"]