-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
78 lines (63 loc) · 1.52 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
workspace = { members = [
"rucimp",
"./",
"crates/macro_map",
"crates/ruci-cmd",
] }
[package]
name = "ruci"
version = "0.0.6"
edition = "2021"
readme = "README.md"
description = "a network proxy framework"
categories = ["network-programming"]
[profile.release]
lto = "fat"
codegen-units = 1
debug = false
strip = true
debug-assertions = false
incremental = false
#opt-level = 'z' # use this and upx will get the smallest binary
[dependencies]
tracing = "0.1.40"
rand = { version = "0.8.5", features = ["small_rng"] }
bytes = "1"
futures = "0.3"
futures-util = "0.3.30"
async-trait = "0.1.77"
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7.10", features = ["io"] }
pin-project-lite = "0.2.13"
scopeguard = "1.2.0"
parking_lot = "0.12.1"
lazy_static = "1"
smallvec = { version = "1.13.1", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
typetag = "0.2.16"
dyn-clone = "1"
anyhow = "1"
typed-builder = "0.18.1"
bitflags = "2.4.2"
url = "2"
base64 = "0.21.7"
sha2 = "0.10.8"
hickory-resolver = { version = "0.24.1", features = ["serde-config"] }
tokio-rustls = "0.25.0"
rustls = { version = "0.22" }
rustls-pemfile = "1.0"
webpki-roots = "0.22.6"
macro_map = { path = "crates/macro_map" }
tun2 = { version = "1", features = ["async"], optional = true }
[features]
tun = ["tun2"]
trace = []
[dev-dependencies]
env_logger = "0.11.1"
criterion = { version = "0.5.1", features = ["async_tokio"] }
[[bench]]
name = "mathadd"
harness = false
[[bench]]
name = "tls"
harness = false