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:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "fake-tcp"
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
edition = "2021"
|
||||
authors = ["Datong Sun <dndx@idndx.com>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
@@ -21,4 +21,4 @@ tokio = { version = "1.14", features = ["full"] }
|
||||
rand = { version = "0.8", features = ["small_rng"] }
|
||||
log = "0.4"
|
||||
internet-checksum = "0.2"
|
||||
dndx-fork-tokio-tun = "0.4"
|
||||
tokio-tun = "0.5"
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#![cfg_attr(feature = "benchmark", feature(test))]
|
||||
|
||||
pub mod packet;
|
||||
extern crate dndx_fork_tokio_tun as tokio_tun;
|
||||
|
||||
use bytes::{Bytes, BytesMut};
|
||||
use log::{error, info, trace, warn};
|
||||
|
Reference in New Issue
Block a user