Merge pull request #602 from LNP-BP/fix/core
Fixing hashes core dependency and fuzz feature
This commit is contained in:
commit
05046b58d3
|
@ -14,7 +14,7 @@ readme = "README.md"
|
||||||
[features]
|
[features]
|
||||||
default = [ "secp-recovery" ]
|
default = [ "secp-recovery" ]
|
||||||
base64 = [ "base64-compat" ]
|
base64 = [ "base64-compat" ]
|
||||||
fuzztarget = ["bitcoin_hashes/fuzztarget"]
|
fuzztarget = []
|
||||||
unstable = []
|
unstable = []
|
||||||
rand = ["secp256k1/rand-std"]
|
rand = ["secp256k1/rand-std"]
|
||||||
use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"]
|
use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"]
|
||||||
|
@ -23,7 +23,7 @@ secp-recovery = ["secp256k1/recovery"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bech32 = "0.7.2"
|
bech32 = "0.7.2"
|
||||||
bitcoin_hashes = "0.9.1"
|
bitcoin_hashes = "0.9.6"
|
||||||
secp256k1 = "0.20.0"
|
secp256k1 = "0.20.0"
|
||||||
|
|
||||||
base64-compat = { version = "1.0.0", optional = true }
|
base64-compat = { version = "1.0.0", optional = true }
|
||||||
|
|
|
@ -99,8 +99,8 @@ pub use util::ecdsa::PublicKey;
|
||||||
|
|
||||||
#[cfg(all(test, feature = "unstable"))]
|
#[cfg(all(test, feature = "unstable"))]
|
||||||
mod tests {
|
mod tests {
|
||||||
use hashes::core::fmt::Arguments;
|
|
||||||
use std::io::{IoSlice, Result, Write};
|
use std::io::{IoSlice, Result, Write};
|
||||||
|
use std::fmt::Arguments;
|
||||||
|
|
||||||
#[derive(Default, Clone, Debug, PartialEq, Eq)]
|
#[derive(Default, Clone, Debug, PartialEq, Eq)]
|
||||||
pub struct EmptyWrite;
|
pub struct EmptyWrite;
|
||||||
|
|
Loading…
Reference in New Issue