Skip to content

Commit 3950e42

Browse files
committed
Temporarily switch to patched fork of packet-builder
1 parent ac8ee79 commit 3950e42

File tree

4 files changed

+28
-128
lines changed

4 files changed

+28
-128
lines changed

Cargo.lock

+24-123
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors = [
1111
"Eduardo Toledo <[email protected]>",
1212
"Eduardo Broto <[email protected]>",
1313
"Kelvin Zhang <[email protected]>",
14-
"Brooks Rady <[email protected]>"
14+
"Brooks Rady <[email protected]>",
1515
]
1616
keywords = ["networking", "utilization", "cli"]
1717
categories = ["network-programming", "command-line-utilities"]
@@ -21,7 +21,7 @@ exclude = ["src/tests/*", "demo.gif"]
2121
[dependencies]
2222
pnet = "0.34.0"
2323
ipnetwork = "0.20.0"
24-
tui = { version = "0.19", default-features = false, features = ["crossterm"]}
24+
tui = { version = "0.19", default-features = false, features = ["crossterm"] }
2525
crossterm = "0.27.0"
2626
structopt = "0.3"
2727
failure = "0.1.8"
@@ -46,7 +46,7 @@ procfs = "0.15.1"
4646
insta = "1.31.0"
4747
pnet_base = "0.34.0"
4848
cargo-insta = "1.31.0"
49-
packet-builder = "0.7.0"
49+
packet-builder = { version = "0.7.0", git = "https://github.com/cyqsimon/packet_builder.git", branch = "patch-update" }
5050
regex = "1"
5151

5252
[target.'cfg(target_os="windows")'.build-dependencies]

src/tests/cases/raw_mode.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use ::std::sync::{Arc, Mutex};
66
use ::std::collections::HashMap;
77
use ::std::net::IpAddr;
88

9-
use packet_builder::{payload::PayloadData, *};
9+
use packet_builder::*;
1010
use pnet::{datalink::DataLinkReceiver, packet::Packet};
1111

1212
use crate::tests::cases::test_utils::{

src/tests/cases/test_utils.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use std::collections::HashMap;
1313
use std::io::Write;
1414
use std::sync::{Arc, Mutex};
1515

16-
use packet_builder::payload::PayloadData;
1716
use pnet::packet::Packet;
1817
use pnet_base::MacAddr;
1918

0 commit comments

Comments
 (0)