Merge pull request #456 from imsnif/deps

Manually bump all dependencies
This commit is contained in:
cyqsimon
2025-02-04 18:22:08 +08:00
committed by GitHub
5 changed files with 619 additions and 308 deletions

View File

@@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
* Minor cleanup and optimisations #435 - @cyqsimon
* Bump `pnet` & `packet-builder` #444 - @cyqsimon
* Switch from anyhow to eyre #450 - @cyqsimon
* Manually bump all dependencies #456 - @cyqsimon
## [0.23.1] - 2024-10-09

893
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -26,24 +26,23 @@ default = []
ui_test = []
[dependencies]
async-trait = "0.1.83"
async-trait = "0.1.86"
chrono = "0.4"
clap-verbosity-flag = "3.0.2"
clap = { version = "4.5.23", features = ["derive"] }
clap = { version = "4.5.28", features = ["derive"] }
crossterm = "0.28.1"
derive_more = { version = "1.0.0", features = ["debug"] }
derive_more = { version = "2.0.1", features = ["debug"] }
eyre = "0.6.12"
ipnetwork = "0.20.0"
itertools = "0.14.0"
log = "0.4.22"
log = "0.4.25"
once_cell = "1.20.2"
pnet = "0.35.0"
pnet_macros_support = "0.35.0"
ratatui = "0.29.0"
resolv-conf = "0.7.0"
simplelog = "0.12.2"
thiserror = "2.0.9"
tokio = { version = "1.42", features = ["rt", "sync"] }
thiserror = "2.0.11"
tokio = { version = "1.43", features = ["rt", "sync"] }
trust-dns-resolver = "0.23.2"
unicode-width = "0.2.0"
strum = { version = "0.26.3", features = ["derive"] }
@@ -60,18 +59,18 @@ netstat2 = "0.11.1"
sysinfo = "0.33.1"
[dev-dependencies]
insta = "1.41.1"
insta = "1.42.1"
packet-builder = { version = "0.7.0", git = "https://github.com/cyqsimon/packet_builder.git", branch = "patch-pnet-0.35" }
pnet_base = "0.35.0"
regex = "1.11.1"
rstest = "0.23.0"
rstest = "0.24.0"
[build-dependencies]
clap = { version = "4.5.23", features = ["derive"] }
clap = { version = "4.5.28", features = ["derive"] }
clap-verbosity-flag = "3.0.2"
clap_complete = "4.5.40"
clap_mangen = "0.2.24"
derive_more = { version = "1.0.0", features = ["debug"] }
clap_complete = "4.5.44"
clap_mangen = "0.2.26"
derive_more = { version = "2.0.1", features = ["debug"] }
eyre = "0.6.12"
strum = { version = "0.26.3", features = ["derive"] }

View File

@@ -5,9 +5,9 @@ use std::{
time::Duration,
};
use ipnetwork::IpNetwork;
use pnet::{
datalink::{DataLinkReceiver, NetworkInterface},
ipnetwork::IpNetwork,
packet::{
ethernet::{EtherTypes, EthernetPacket},
ip::{IpNextHeaderProtocol, IpNextHeaderProtocols},

View File

@@ -6,9 +6,11 @@ use std::{
use async_trait::async_trait;
use crossterm::event::Event;
use ipnetwork::IpNetwork;
use itertools::Itertools;
use pnet::datalink::{DataLinkReceiver, NetworkInterface};
use pnet::{
datalink::{DataLinkReceiver, NetworkInterface},
ipnetwork::IpNetwork,
};
use tokio::runtime::Runtime;
use crate::{