-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
84 lines (70 loc) · 1.83 KB
/
Cargo.toml
File metadata and controls
84 lines (70 loc) · 1.83 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[package]
name = "bws-web-server"
version = "0.4.1"
edition = "2021"
license = "MIT"
description = "BWS - High-performance multi-site web server built with Pingora"
repository = "https://github.com/benliao/bws"
homepage = "https://github.com/benliao/bws"
documentation = "https://benliao.github.io/bws"
keywords = ["web-server", "pingora", "multi-site", "proxy", "http"]
categories = ["web-programming::http-server", "network-programming"]
authors = ["Ben Liao <abenliao@gmail.com>"]
readme = "README.md"
exclude = [
"target/",
".github/",
"*.log",
"test_*.sh",
"bws_config.toml"
]
[[bin]]
name = "bws"
path = "src/bin/main.rs"
[dependencies]
# Core server framework
async-trait = "0.1"
pingora = { version = "0.6", features = ["lb", "rustls"] }
# Logging and CLI
env_logger = "0.11"
log = "0.4"
clap = { version = "4.0", features = ["derive"] }
# Async runtime
tokio = { version = "1.0", features = ["full"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
# Time and concurrency
chrono = { version = "0.4", features = ["serde"] }
once_cell = "1.19"
# System utilities
num_cpus = "1.16"
# SSL/TLS and ACME
rustls = "0.23"
rustls-pemfile = "2.0"
instant-acme = "0.6"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream"] }
uuid = { version = "1.0", features = ["v4"] }
base64 = "0.22"
sha2 = "0.10"
x509-parser = "0.16"
rcgen = "0.12"
# Configuration and file watching
notify = "6.0"
url = "2.4"
# WebSocket support
tokio-tungstenite = { version = "0.23", features = ["rustls-tls-webpki-roots"] }
tungstenite = "0.24"
futures-util = "0.3"
sha1 = "0.10"
# Compression
flate2 = "1.0"
brotli = "6.0"
bytes = "1.0"
# Load balancing
fastrand = "2.0"
# Testing and development
tempfile = "3.8"
[target.'cfg(unix)'.dependencies]
daemonize = "0.5"