mirror of
https://github.com/dndx/phantun.git
synced 2025-01-18 13:59:30 +08:00
86c6a3f801
for better load sharing between threads This removes the bottleneck with a single listening UDP socket.
17 lines
369 B
TOML
17 lines
369 B
TOML
[package]
|
|
name = "phantom"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
bytes = "1"
|
|
pnet = "0.28.0"
|
|
tokio-tun = "0.3.15"
|
|
tokio = { version = "1.11.0", features = ["full"] }
|
|
lru_time_cache = "0.11.11"
|
|
rand = { version = "0.8.4", features = ["small_rng"] }
|
|
clap = "2.33.3"
|
|
log = "0.4"
|
|
pretty_env_logger = "0.4.0"
|
|
socket2 = { version = "0.4.2", features = ["all"] }
|