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..ab7dd49a7 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 @@ -21,7 +16,13 @@ protobuf = { path = "../protobuf" } [[bin]] name = "proto3" path = "fuzzers/proto3.rs" +test = false +doc = false +bench = false [[bin]] name = "proto2" path = "fuzzers/proto2.rs" +test = false +doc = false +bench = false diff --git a/fuzz/fuzzers/proto2.rs b/fuzz/fuzzers/proto2.rs index 9573009ff..5b7cb51ef 100644 --- a/fuzz/fuzzers/proto2.rs +++ b/fuzz/fuzzers/proto2.rs @@ -7,4 +7,3 @@ use tests::roundtrip; fuzz_target!(|data: &[u8]| { let _ = roundtrip::(data).unwrap_error(); }); -