-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
76 lines (67 loc) · 1.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
[package]
name = "uniqx"
version = "2.0.7"
description = "A simple tool to tunnel TCP and HTTP traffic."
authors = ["Yunik Maharjan <https://github.com/unique1o1>"]
readme = "README.md"
keywords = ["network", "cli", "tunnel", "tcp", "http"]
repository = "https://github.com/unique1o1/uniqx"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.71.1"
[[bin]]
name = "uniqx"
path = "src/main.rs"
[dependencies]
native-tls = { version = "0.2.11", features = ["vendored"] }
self_update = { version = "0.38.0", features = [
"archive-tar",
"compression-flate2",
] }
client = { path = "client" }
server = { path = "server" }
tracing-subscriber = { workspace = true }
tokio = { workspace = true }
shared = { path = "shared" }
clap = { workspace = true }
anyhow = { workspace = true }
ctrlc = "3.4.0"
[workspace]
members = ["server", "client", "shared"]
resolver = "2"
[workspace.dependencies]
dashmap = { version = "5.5.0" }
anyhow = { version = "1.0.72" }
# crossbeam = "0.8"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "fmt"] }
httparse = "1.8.0"
clap = { version = "4.3.21", features = ["derive", "env"] }
tokio = { version = "1.31.0", features = [
"rt-multi-thread",
"io-util",
"macros",
"net",
"time",
] }
uuid = { version = "1.4.1", features = ["serde", "v4"] }
serde = { version = "1.0.183", features = ["derive"] }
tracing = "0.1.37"
tokio-util = { version = "0.7.8", features = ["codec"] }
serde_json = "1.0.105"
socket2 = "0.5.3"
[profile.release]
opt-level = "z"
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'abort'
incremental = false
overflow-checks = false
strip = true
[dev-dependencies]
rstest = "0.18.2"
actix-web = { version = "4" }
httparse = { workspace = true }
lazy_static = "1.4.0"