-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathCargo.toml
54 lines (48 loc) · 1.69 KB
/
Cargo.toml
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
44
45
46
47
48
49
50
51
52
53
54
[package]
description = "Stateful load balancer custom-tailored for llama.cpp"
license-file = "LICENSE"
name = "paddler"
repository = "https://github.com/distantmagic/paddler"
version = "1.0.0"
edition = "2021"
[dependencies]
actix = "0.13.5"
actix-web = "4.9.0"
async-trait = "0.1.83"
bytes = "1.8.0"
clap = { version = "4.5.20", features = ["derive"] }
env_logger = "0.11.5"
futures = "0.3.31"
futures-util = { version = "0.3.31", features = ["tokio-io"] }
log = "0.4.22"
pingora = { version = "0.4.0", features = ["proxy"] }
reqwest = { version = "0.12.9", features = ["json", "stream"] }
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.132"
thiserror = "2.0.3"
tokio = { version = "1.41.1", features = ["full"] }
tokio-stream = { version = "0.1.16", features = ["sync"] }
url = { version = "2.5.3", features = ["serde"] }
uuid = { version = "1.11.0", features = ["serde", "v4"] }
# ratatui dashboard deps
crossterm = { version = "0.28.1", features = ["event-stream"], optional = true }
ratatui = { version = "0.29.0", optional = true }
# statsd reporter deps
cadence = { version = "1.5.0", optional = true }
# web dashboard deps
askama = { version = "0.12.1", optional = true }
askama_actix = { version = "0.14.0", optional = true }
mime_guess = { version = "2.0.5", optional = true }
rust-embed = { version = "8.5.0", optional = true }
itertools = "0.13.0"
color-eyre = "0.6.3"
time = "0.3.36"
chrono = "0.4.38"
[features]
default = ["statsd_reporter", "ratatui_dashboard"]
ratatui_dashboard = ["dep:crossterm", "dep:ratatui"]
statsd_reporter = ["dep:cadence"]
web_dashboard = ["dep:askama", "dep:askama_actix", "dep:mime_guess", "dep:rust-embed"]
[profile.release]
lto = true
codegen-units = 1