-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (43 loc) · 1.47 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]
name = "proxerver-cli"
version = "0.2.0"
edition = "2021"
authors = ["doroved"]
description = "User Friendly HTTP and HTTPS (HTTP over TLS) proxy server."
readme = "README.md"
repository = "https://github.com/doroved/proxerver-cli"
license = "MIT OR Apache-2.0"
keywords = ["proxy", "proxy-server", "http", "https", "http-over-tls"]
categories = ["command-line-utilities", "network-programming"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1.43.0", features = [
"rt",
"rt-multi-thread",
"macros",
"process",
] }
hyper = { version = "1.6.0" }
hyper-tls = "0.6.0"
hyper-util = { version = "0.1.10", features = ["server", "http1", "http2"] }
wildmatch = "2.4.0"
clap = { version = "4.5.27", features = ["derive"] }
serde = { version = "1.0.217", features = ["derive"] }
sha2 = "0.10.8"
bytes = "1.9.0"
rlimit = "0.10.2"
toml = "0.8.19"
http = "1.2.0"
http-body-util = "0.1.2"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19" }
rustls = "0.23.21"
tokio-rustls = "0.26.1"
openssl = { version = "0.10.69", features = ["vendored"] }
base64 = "0.22.1"
[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "z" # Optimize for binary size s = 1.4 mb | z = 1.2 mb
strip = true # Remove debug symbols