chore(*) use tokio-tun v0.5 instead of forked version. Bumped

`fake-tcp` to `v0.2.3`
This commit is contained in:
Datong Sun
2021-12-07 00:56:13 -08:00
parent def134d73b
commit 7db7164193
5 changed files with 4 additions and 9 deletions

View File

@@ -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"

View File

@@ -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};

View File

@@ -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;