Fixing hashes core dependency and fuzz feature

This commit is contained in:
Dr Maxim Orlovsky 2021-05-04 03:47:34 +02:00
parent 902e0ec4f1
commit 122450b102
No known key found for this signature in database
GPG Key ID: FFC0250947E5C6F7
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ readme = "README.md"
[features]
default = [ "secp-recovery" ]
base64 = [ "base64-compat" ]
fuzztarget = ["bitcoin_hashes/fuzztarget"]
fuzztarget = []
unstable = []
rand = ["secp256k1/rand-std"]
use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"]
@ -23,7 +23,7 @@ secp-recovery = ["secp256k1/recovery"]
[dependencies]
bech32 = "0.7.2"
bitcoin_hashes = "0.9.1"
bitcoin_hashes = "0.9.6"
secp256k1 = "0.20.0"
base64-compat = { version = "1.0.0", optional = true }

View File

@ -99,8 +99,8 @@ pub use util::ecdsa::PublicKey;
#[cfg(all(test, feature = "unstable"))]
mod tests {
use hashes::core::fmt::Arguments;
use std::io::{IoSlice, Result, Write};
use std::fmt::Arguments;
#[derive(Default, Clone, Debug, PartialEq, Eq)]
pub struct EmptyWrite;