mirror of
https://github.com/dndx/phantun.git
synced 2025-01-18 13:59:30 +08:00
chore(deps): bump dependencies to latest
This commit is contained in:
parent
e86c5c5c50
commit
6955a1eb4c
@ -16,10 +16,10 @@ benchmark = []
|
||||
|
||||
[dependencies]
|
||||
bytes = "1"
|
||||
pnet = "0.34"
|
||||
tokio = { version = "1.14", features = ["full"] }
|
||||
rand = { version = "0.8", features = ["small_rng"] }
|
||||
log = "0.4"
|
||||
internet-checksum = "0.2"
|
||||
tokio-tun = "0.11"
|
||||
flume = "0.11"
|
||||
pnet = "0"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
rand = { version = "0", features = ["small_rng"] }
|
||||
log = "0"
|
||||
internet-checksum = "0"
|
||||
tokio-tun = "0"
|
||||
flume = "0"
|
||||
|
@ -11,14 +11,14 @@ Transforms UDP stream into (fake) TCP streams that can go through
|
||||
Layer 3 & Layer 4 (NAPT) firewalls/NATs.
|
||||
"""
|
||||
[dependencies]
|
||||
clap = { version = "4.0", features = ["cargo"] }
|
||||
socket2 = { version = "0.5", features = ["all"] }
|
||||
fake-tcp = { path = "../fake-tcp", version = "0.5" }
|
||||
tokio = { version = "1.14", features = ["full"] }
|
||||
tokio-util = "0.7"
|
||||
log = "0.4"
|
||||
pretty_env_logger = "0.5"
|
||||
tokio-tun = "0.11"
|
||||
num_cpus = "1.13"
|
||||
neli = "0.6"
|
||||
nix = { version = "0.28", features = ["net"] }
|
||||
clap = { version = "4", features = ["cargo"] }
|
||||
socket2 = { version = "0", features = ["all"] }
|
||||
fake-tcp = { path = "../fake-tcp", version = "0" }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio-util = "0"
|
||||
log = "0"
|
||||
pretty_env_logger = "0"
|
||||
tokio-tun = "0"
|
||||
num_cpus = "1"
|
||||
neli = "0"
|
||||
nix = { version = "0", features = ["net"] }
|
||||
|
@ -153,8 +153,6 @@ async fn main() -> io::Result<()> {
|
||||
|
||||
let tun = TunBuilder::new()
|
||||
.name(tun_name) // if name is empty, then it is set by kernel.
|
||||
.tap(false) // false (default): TUN, true: TAP.
|
||||
.packet_info(false) // false: IFF_NO_PI, default is true.
|
||||
.up() // or set it up manually using `sudo ip link set <tun-name> up`.
|
||||
.address(tun_local)
|
||||
.destination(tun_peer)
|
||||
|
@ -152,8 +152,6 @@ async fn main() -> io::Result<()> {
|
||||
|
||||
let tun = TunBuilder::new()
|
||||
.name(tun_name) // if name is empty, then it is set by kernel.
|
||||
.tap(false) // false (default): TUN, true: TAP.
|
||||
.packet_info(false) // false: IFF_NO_PI, default is true.
|
||||
.up() // or set it up manually using `sudo ip link set <tun-name> up`.
|
||||
.address(tun_local)
|
||||
.destination(tun_peer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user