mirror of
https://github.com/dndx/phantun.git
synced 2025-09-15 19:54:29 +08:00
chore(*) use tokio-tun
v0.5 instead of forked version. Bumped
`fake-tcp` to `v0.2.3`
This commit is contained in:
@@ -13,9 +13,9 @@ Layer 3 & Layer 4 (NAPT) firewalls/NATs.
|
||||
[dependencies]
|
||||
clap = "2.34"
|
||||
socket2 = { version = "0.4", features = ["all"] }
|
||||
fake-tcp = "0.2.2"
|
||||
fake-tcp = "0.2"
|
||||
tokio = { version = "1.14", features = ["full"] }
|
||||
log = "0.4"
|
||||
pretty_env_logger = "0.4"
|
||||
dndx-fork-tokio-tun = "0.4"
|
||||
tokio-tun = "0.5"
|
||||
num_cpus = "1.13"
|
||||
|
@@ -1,5 +1,3 @@
|
||||
extern crate dndx_fork_tokio_tun as tokio_tun;
|
||||
|
||||
use clap::{crate_version, App, Arg};
|
||||
use fake_tcp::packet::MAX_PACKET_LEN;
|
||||
use fake_tcp::{Socket, Stack};
|
||||
|
@@ -1,5 +1,3 @@
|
||||
extern crate dndx_fork_tokio_tun as tokio_tun;
|
||||
|
||||
use clap::{crate_version, App, Arg};
|
||||
use fake_tcp::packet::MAX_PACKET_LEN;
|
||||
use fake_tcp::Stack;
|
||||
|
Reference in New Issue
Block a user