Skip to content

Commit

Permalink
chore(deps): bump dependencies to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
dndx committed Nov 20, 2024
1 parent e86c5c5 commit 6955a1e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 22 deletions.
14 changes: 7 additions & 7 deletions fake-tcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
22 changes: 11 additions & 11 deletions phantun/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 0 additions & 2 deletions phantun/src/bin/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions phantun/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6955a1e

Please sign in to comment.