From 0b33d50173b41354d99bc0004413ae8e2a81acc6 Mon Sep 17 00:00:00 2001 From: Pierre Chifflier Date: Mon, 29 Jul 2024 14:27:56 +0200 Subject: [PATCH] Cargo: use same max_level_xx values for workspace Starting with rust 1.80, it is not possible to use different features for different executables in the workspace. --- pcap-cli/Cargo.toml | 2 +- pcap-rewrite/Cargo.toml | 2 +- test-analyzer/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcap-cli/Cargo.toml b/pcap-cli/Cargo.toml index 92d40f1..00e1fa9 100644 --- a/pcap-cli/Cargo.toml +++ b/pcap-cli/Cargo.toml @@ -25,7 +25,7 @@ fern = "0.6" lazy_static = "1.2" libpcap-analyzer = { version="0.1.0", path="../libpcap-analyzer" } libpcap-tools = { version="0.1.0", path="../libpcap-tools" } -log = { version = "0.4", features = ["max_level_trace", "release_max_level_warn"] } +log = { version = "0.4" } pcap-parser = "0.15" rustyline = "13.0" serde_json = "1.0" diff --git a/pcap-rewrite/Cargo.toml b/pcap-rewrite/Cargo.toml index 1f9e835..a15b92b 100644 --- a/pcap-rewrite/Cargo.toml +++ b/pcap-rewrite/Cargo.toml @@ -33,7 +33,7 @@ doc = false csv = "1.1.6" clap = { version = "4.4", features = ["cargo", "derive"] } libpcap-tools = { version="0.1.0", path="../libpcap-tools" } -log = { version = "0.4", features = ["max_level_debug", "release_max_level_warn"] } +log = { version = "0.4" } flate2 = { version = "1.0", features = ["zlib"], default-features = false } lz4 = "1.23" pnet_packet = "0.34" diff --git a/test-analyzer/Cargo.toml b/test-analyzer/Cargo.toml index 82b751d..fdacdc4 100644 --- a/test-analyzer/Cargo.toml +++ b/test-analyzer/Cargo.toml @@ -12,7 +12,7 @@ flate2 = { version = "1.0", features = ["zlib"], default-features = false } explugin-example = { path="../explugin-example" } libpcap-analyzer = { path="../libpcap-analyzer" } libpcap-tools = { path="../libpcap-tools" } -log = { version = "0.4", features = ["max_level_trace", "release_max_level_warn"] } +log = { version = "0.4" } lz4 = "1.23" serde_json = "1.0" simplelog = { version="0.12", default-features = false }