Merge pull request #602 from LNP-BP/fix/core

Fixing hashes core dependency and fuzz feature
This commit is contained in:
Matt Corallo 2021-05-07 19:49:43 +00:00 committed by GitHub
commit 05046b58d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;