From e68d366b19cce51d87831d39fdee061764fb31b7 Mon Sep 17 00:00:00 2001 From: Casper Meijn Date: Fri, 9 Aug 2024 12:36:53 +0200 Subject: [PATCH] build(fuzz): Add fuzz targets to workspace `cargo-fuzz` recommends adding the `fuzz` crate to the workspace. It seems the problem of not compiling is fixed with recent dependencies. source: https://github.com/rust-fuzz/cargo-fuzz?tab=readme-ov-file#usage --- Cargo.toml | 5 ----- fuzz/Cargo.toml | 9 ++------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8e65e3bd3..56855e359 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,11 +11,6 @@ members = [ "tests-2015", "tests-no-std", "tests/single-include", -] - -exclude = [ - # The fuzz crate can't be compiled or tested without the 'cargo fuzz' command, - # so exclude it from normal builds. "fuzz", ] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 63b65a621..961fd20e5 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -2,13 +2,8 @@ name = "fuzz" version = "0.0.0" publish = false -edition = "2021" -authors = [ - "Dan Burkert ", - "Lucio Franco ", - "Casper Meijn ", - "Tokio Contributors ", -] +edition.workspace = true +authors.workspace = true [package.metadata] cargo-fuzz = true