From a291fee23c618fb7582bae5a135612032b3c4ea4 Mon Sep 17 00:00:00 2001 From: Martin Habovstiak Date: Thu, 29 Jul 2021 08:13:25 +0200 Subject: [PATCH] Removed fuzztarget feature It seems to be unused and when there's a need for it it's better to use `--cfg fuzzing` as in `rust-secp256k1 ` and `bitcoin_hashes`. --- Cargo.toml | 1 - fuzz/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 13408060..d8c0f6ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,6 @@ readme = "README.md" [features] default = [ "std", "secp-recovery" ] base64 = [ "base64-compat" ] -fuzztarget = [] unstable = [] rand = ["secp256k1/rand-std"] use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index a5addd67..e809e940 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -14,7 +14,7 @@ honggfuzz_fuzz = ["honggfuzz"] [dependencies] honggfuzz = { version = "0.5", optional = true } afl = { version = "0.4", optional = true } -bitcoin = { path = "..", features = ["fuzztarget"] } +bitcoin = { path = ".." } # Prevent this from interfering with workspaces [workspace]