-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathCargo.toml
205 lines (194 loc) · 5.77 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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
[package]
name = "pingap"
version = "0.10.4"
authors = ["Tree Xie <tree.xie@outlook.com>"]
edition = "2021"
categories = ["network-programming", "web-programming::http-server"]
keywords = ["proxy", "http", "gateway"]
description = "A reverse proxy like nginx"
license = "Apache-2.0"
homepage = "https://github.com/vicanso/pingap"
repository = "https://github.com/vicanso/pingap"
exclude = ["asset/*", "test/*", "Cargo.lock", "web/*", ".github/*", "docs/*"]
readme = "./README.md"
rust-version = "1.81"
default-run = "pingap"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ahash = { version = "0.8.11", default-features = false }
arc-swap = "1.7.1"
async-trait = "0.1.86"
bytes = "1.9.0"
cfg-if = "1.0.0"
clap = { version = "4.5.28", features = [
"derive",
"std",
"help",
"usage",
], default-features = false }
crc32fast = "1.4.2"
crossbeam-channel = "0.5.14"
flate2 = "1.0.35"
glob = "0.3.2"
hex = "0.4.3"
http = "1.2.0"
humantime = "2.1.0"
humantime-serde = "1.1.1"
itoa = "1.0.14"
nanoid = "0.4.0"
nix = { version = "0.29.0", features = ["signal"] }
num_cpus = "1.16.0"
once_cell = "1.20.2"
pingora = { git = "https://github.com/cloudflare/pingora", rev = "eef35768d11305d1293468a6c3ce91a3858dc0fc", default-features = false, features = [
# pingora = { version = "0.4.0", default-features = false, features = [
"lb",
"openssl",
"cache",
] }
regex = { version = "1.11.1", default-features = false }
rust-embed = { version = "8.5.0", features = [
"mime-guess",
"compression",
], default-features = false }
scopeguard = "1.2.0"
serde = "1.0.217"
serde_json = "1.0.138"
sha2 = { version = "0.10.8", default-features = false }
snafu = { version = "0.8.5", features = ["std"], default-features = false }
substring = "1.4.5"
tokio = { version = "1.43.0", default-features = false, features = ["fs"] }
toml = "0.8.19"
tracing = "0.1.41"
url = "2.5.4"
urlencoding = "2.1.3"
uuid = { version = "1.12.1", features = [
"v7",
"std",
"fast-rng",
], default-features = false }
ctor = "0.2.9"
pingap-core = { version = "0.10.4", path = "pingap-core" }
pingap-util = { version = "0.10.4", path = "pingap-util" }
pingap-webhook = { version = "0.10.4", path = "pingap-webhook" }
pingap-config = { version = "0.10.4", path = "pingap-config" }
pingap-cache = { version = "0.10.4", path = "pingap-cache" }
pingap-upstream = { version = "0.10.4", path = "pingap-upstream" }
pingap-certificate = { version = "0.10.4", path = "pingap-certificate" }
pingap-location = { version = "0.10.4", path = "pingap-location" }
pingap-performance = { version = "0.10.4", path = "pingap-performance" }
pingap-logger = { version = "0.10.4", path = "pingap-logger" }
pingap-acme = { version = "0.10.4", path = "pingap-acme" }
pingap-plugin = { version = "0.10.4", path = "pingap-plugin" }
pingap-otel = { version = "0.10.4", path = "pingap-otel", optional = true }
pingap-sentry = { version = "0.10.4", path = "pingap-sentry", optional = true }
pingap-pyroscope = { version = "0.10.4", path = "pingap-pyroscope", optional = true }
[features]
pyro = ["pingap-pyroscope"]
full = [
"pingora/sentry",
"pingap-cache/full",
"pingap-core/full",
"pingap-performance/full",
"pingap-otel",
"pingap-sentry",
]
perf = ["pyro", "full"]
default = []
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
pretty_assertions = "1.4.0"
tokio-test = "0.4.4"
[profile.release]
codegen-units = 1
lto = true
strip = "debuginfo"
[profile.release-perf]
inherits = "release"
debug = 1
strip = "none"
[[bench]]
name = "bench"
harness = false
[package.metadata.cargo-machete]
ignored = ["humantime-serde"]
[workspace]
members = [
"pingap-acme",
"pingap-cache",
"pingap-certificate",
"pingap-config",
"pingap-core",
"pingap-discovery",
"pingap-health",
"pingap-location",
"pingap-logger",
"pingap-otel",
"pingap-performance",
"pingap-plugin",
"pingap-pyroscope",
"pingap-sentry",
"pingap-upstream",
"pingap-util",
"pingap-webhook",
]
[workspace.dependencies]
once_cell = "1.20.2"
bytes = "1.9.0"
http = "1.2.0"
pingora = { git = "https://github.com/cloudflare/pingora", rev = "eef35768d11305d1293468a6c3ce91a3858dc0fc", default-features = false, features = [
# pingora = { version = "0.4.0", default-features = false, features = [
"lb",
"openssl",
"cache",
] }
regex = { version = "1.11.1", default-features = false }
snafu = { version = "0.8.5", features = ["std"], default-features = false }
substring = "1.4.5"
itoa = "1.0.14"
toml = "0.8.19"
tokio = { version = "1.43.0", default-features = false, features = ["fs"] }
tracing = "0.1.41"
async-trait = "0.1.86"
serde = "1.0.217"
serde_json = "1.0.138"
strum = { version = "0.26.3", features = ["derive"] }
reqwest = { version = "0.12.12", default-features = false, features = [
"json",
"default-tls",
] }
futures = "0.3.31"
humantime = "2.1.0"
url = "2.5.4"
arc-swap = "1.7.1"
bytesize = { version = "1.3.0", features = ["serde"] }
futures-util = "0.3.31"
base64 = "0.22.1"
humantime-serde = "1.1.1"
memory-stats = { version = "1.2.0", features = ["always_use_statm"] }
scopeguard = "1.2.0"
walkdir = "2.5.0"
ahash = { version = "0.8.11", default-features = false }
derive_more = { version = "1.0.0", default-features = false, features = [
"debug",
] }
pingora-runtime = "0.4.0"
time = { version = "0.3.37", features = ["local-offset"] }
sysinfo = { version = "0.33.1", features = [
"system",
], default-features = false }
num_cpus = "1.16.0"
cfg-if = "1.0.0"
chrono = { version = "0.4.39", default-features = false, features = [
"std",
"clock",
] }
flate2 = "1.0.35"
crc32fast = "1.4.2"
hex = "0.4.3"
cookie = "0.18.1"
nanoid = "0.4.0"
urlencoding = "2.1.3"
glob = "0.3.2"
mime_guess = "2.0.5"
dirs = "6.0.0"
path-absolutize = "3.1.1"