-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
67 lines (58 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
[package]
name = "tonel"
version = "0.6.1"
edition = "2021"
authors = ["Saber Haj Rabiee"]
license = "MIT"
repository = "https://github.com/sabify/tonel"
keywords = ["tcp", "udp", "network", "tun", "tunnel"]
categories = ["network-programming"]
readme = "README.md"
description = """
A Multi-Stream UDP over TCP Tunneler for Lightning-Fast Network Layer 3 Transmission with TUN Interface.
"""
[[bin]]
name = "tonelc"
path = "src/bin/client.rs"
[[bin]]
name = "tonels"
path = "src/bin/server.rs"
[dependencies]
clap = { version = "4.3", features = ["cargo", "string"] }
socket2 = { version = "0.5.3", features = ["all"] }
tokio = { version = "1", features = ["full"] }
bytes = "1"
pnet = "0.33"
log = "0.4"
internet-checksum = "0.2"
opool = "0.1"
once_cell = "1.18.0"
tun = { version = "0.5", package = "forky-tun", features = ["async"] }
kanal = "0.1.0-pre8"
daemonize = "0.5.0"
fxhash = "0.2.1"
dashmap = "5.4.0"
zeroize = "1.6.0"
tokio-util = "0.7"
env_logger = "0.10.0"
nix = "0.26"
ctrlc = { version = "3.4", features = ["termination"] }
cfg-if = "1.0"
mimalloc = { version = "0.1", default-features = false, optional = true }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "0.5", optional = true }
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
neli = "0.6"
[features]
default = []
alloc-mi = ["mimalloc"]
alloc-jem = ["jemallocator"]
benchmark = []
[dev-dependencies]
rand = "0.8.5"
[profile.release]
lto = true
codegen-units = 1
incremental = false
panic = "unwind"
strip = true