Skip to content

Commit

Permalink
Temporarily switch to patched fork of packet-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
cyqsimon committed Aug 17, 2023
1 parent ac8ee79 commit e190ccb
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 128 deletions.
147 changes: 24 additions & 123 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors = [
"Eduardo Toledo <etoledom@icloud.com>",
"Eduardo Broto <ebroto@tutanota.com>",
"Kelvin Zhang <zhangxp1998@gmail.com>",
"Brooks Rady <b.j.rady@gmail.com>"
"Brooks Rady <b.j.rady@gmail.com>",
]
keywords = ["networking", "utilization", "cli"]
categories = ["network-programming", "command-line-utilities"]
Expand All @@ -21,7 +21,7 @@ exclude = ["src/tests/*", "demo.gif"]
[dependencies]
pnet = "0.34.0"
ipnetwork = "0.20.0"
tui = { version = "0.19", default-features = false, features = ["crossterm"]}
tui = { version = "0.19", default-features = false, features = ["crossterm"] }
crossterm = "0.27.0"
structopt = "0.3"
failure = "0.1.8"
Expand All @@ -46,7 +46,7 @@ procfs = "0.15.1"
insta = "1.31.0"
pnet_base = "0.34.0"
cargo-insta = "1.31.0"
packet-builder = "0.7.0"
packet-builder = { version = "0.7.0", git = "https://github.com/cyqsimon/packet_builder.git", branch = "patch-update" }
regex = "1"

[target.'cfg(target_os="windows")'.build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/tests/cases/raw_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use ::std::sync::{Arc, Mutex};
use ::std::collections::HashMap;
use ::std::net::IpAddr;

use packet_builder::{payload::PayloadData, *};
use packet_builder::*;
use pnet::{datalink::DataLinkReceiver, packet::Packet};

use crate::tests::cases::test_utils::{
Expand Down
1 change: 0 additions & 1 deletion src/tests/cases/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use std::collections::HashMap;
use std::io::Write;
use std::sync::{Arc, Mutex};

use packet_builder::payload::PayloadData;
use pnet::packet::Packet;
use pnet_base::MacAddr;

Expand Down

0 comments on commit e190ccb

Please sign in to comment.