From 0965130c1bb10145ebef1d942be11e78702ccf3c Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 31 Jan 2025 15:11:17 +0100 Subject: [PATCH] fuzz: remove rand dependency --- fuzz/Cargo.lock | 54 ------------------------------------------------- fuzz/Cargo.toml | 1 - 2 files changed, 55 deletions(-) diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index caff5a0..f1ad88b 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -86,21 +86,9 @@ dependencies = [ "chrono", "libfuzzer-sys", "parse_datetime", - "rand", "regex", ] -[[package]] -name = "getrandom" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - [[package]] name = "iana-time-zone" version = "0.1.61" @@ -203,12 +191,6 @@ dependencies = [ "regex", ] -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - [[package]] name = "proc-macro2" version = "1.0.59" @@ -227,36 +209,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - [[package]] name = "regex" version = "1.11.1" @@ -309,12 +261,6 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - [[package]] name = "wasm-bindgen" version = "0.2.93" diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index d8d56b8..dfc4c79 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -7,7 +7,6 @@ edition = "2021" cargo-fuzz = true [dependencies] -rand = "0.8.5" libfuzzer-sys = "0.4.7" regex = "1.10.4" chrono = { version="0.4", default-features=false, features=["std", "alloc", "clock"] }