From 7bbecbcf8c31dd8045938a632f6fd92d1da89006 Mon Sep 17 00:00:00 2001 From: SkuldNorniern Date: Thu, 21 Mar 2024 17:23:17 +0900 Subject: [PATCH] build: update crates --- Cargo.toml | 2 +- fluere-plugin/Cargo.toml | 6 +++--- src/net/offline_fluereflows.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index df34922..25dfd41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/SkuldNorniern/fluere" [dependencies] clap = { version = "4.0.32", features = ["cargo"] } -tokio = { version = "1.32", features = ["full", "macros", "rt-multi-thread"] } +tokio = { version = "1.36", features = ["full", "macros", "rt-multi-thread"] } pnet = { version = "0.34.0", features = ["std"] } pnet_macros_support = "0.34.0" pnet_macros = "0.34.0" diff --git a/fluere-plugin/Cargo.toml b/fluere-plugin/Cargo.toml index a6839e9..7aa8691 100644 --- a/fluere-plugin/Cargo.toml +++ b/fluere-plugin/Cargo.toml @@ -14,13 +14,13 @@ repository = "https://github.com/SkuldNorniern/fluere" [dependencies] -git2 = "0.18.1" -tokio = { version = "1.32", features = ["full","macros", "rt-multi-thread"] } +git2 = "0.18.3" +tokio = { version = "1.36", features = ["full","macros", "rt-multi-thread"] } fluere-config = { version = "0.2.0", path = "../fluere-config" } #fluere-plugin-trait = { path = "../fluere-plugin-trait" } fluereflow = { version = "0.3.2", path = "../fluereflow" } dirs = "5.0.1" -mlua = { version = "0.9.2", features = ["lua54", "vendored","async","send"] } +mlua = { version = "0.9.6", features = ["lua54", "vendored","async","send"] } inksac = "0.4.0" log = { version = "0.4.21", features = ["std"], optional = true } diff --git a/src/net/offline_fluereflows.rs b/src/net/offline_fluereflows.rs index 3cc86b3..72e0f00 100644 --- a/src/net/offline_fluereflows.rs +++ b/src/net/offline_fluereflows.rs @@ -1,4 +1,4 @@ -use std::{collections::HashMap, fs, time::Instant, path::Path}; +use std::{collections::HashMap, fs, path::Path, time::Instant}; use crate::{ net::{ @@ -17,7 +17,7 @@ use pcap::Capture; use tokio::task; pub async fn fluereflow_fileparse(arg: Args) -> Result<(), FluereError> { - let csv_file = arg.files.csv.unwrap(); + let _csv_file = arg.files.csv.unwrap(); let file_name = arg.files.file.unwrap(); let use_mac = arg.parameters.use_mac.unwrap(); let flow_timeout = arg.parameters.timeout.unwrap();