From 28f34e076e75c5195e1ec5537755522363eddb56 Mon Sep 17 00:00:00 2001 From: "Dongjia \"toka\" Zhang" Date: Thu, 23 Nov 2023 17:21:13 +0100 Subject: [PATCH] Reduce deps (#1692) --- libafl/Cargo.toml | 6 +++--- libafl_libfuzzer/libafl_libfuzzer_runtime/Cargo.toml | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/libafl/Cargo.toml b/libafl/Cargo.toml index af91597ac5..320e5eae21 100644 --- a/libafl/Cargo.toml +++ b/libafl/Cargo.toml @@ -81,7 +81,7 @@ concolic_mutation = ["z3"] tui_monitor = ["ratatui", "crossterm"] ## Enables `StringClassificationStage` and associated mutators, which allow for mutations which preserve the Unicode property data -unicode = ["libafl_bolts/alloc", "ahash/std", "serde/rc", "bitvec"] +unicode = ["libafl_bolts/alloc", "ahash/std", "serde/rc", "bitvec", "reqwest", "zip"] #! ## LibAFL-Bolts Features @@ -132,9 +132,9 @@ agpl = ["nautilus"] nautilus = ["grammartec", "std", "serde_json/std"] [build-dependencies] -reqwest = { version = "0.11", features = ["blocking"] } +reqwest = { version = "0.11", features = ["blocking"], optional = true} rustversion = "1.0" -zip = "0.6" +zip = { version = "0.6", optional = true } [dev-dependencies] serde_json = { version = "1.0", default-features = false, features = ["alloc"] } diff --git a/libafl_libfuzzer/libafl_libfuzzer_runtime/Cargo.toml b/libafl_libfuzzer/libafl_libfuzzer_runtime/Cargo.toml index 921369cfe0..0deeee5d14 100644 --- a/libafl_libfuzzer/libafl_libfuzzer_runtime/Cargo.toml +++ b/libafl_libfuzzer/libafl_libfuzzer_runtime/Cargo.toml @@ -42,9 +42,6 @@ num-traits = "0.2.15" rand = "0.8.5" serde = { version = "1.0", features = ["derive"] } # serialization lib -# clippy-suggested optimised byte counter -bytecount = "0.6.3" - # for identifying if we can grimoire-ify utf8-chars = "3.0.1"