Replace 'blake2-rfc' with rust-crypto 'blake2' crate (#12266)

* Replace 'blake2-rfc with rust-crypto 'blake2' crate
* Bump blake2 to 0.10.4
This commit is contained in:
Davide Galassi
2022-09-15 17:12:55 +02:00
committed by GitHub
parent bba345f8ed
commit a4ebb6d31c
5 changed files with 34 additions and 18 deletions
+3 -3
View File
@@ -48,7 +48,7 @@ bitflags = "1.3"
# full crypto
ed25519-zebra = { version = "3.0.0", default-features = false, optional = true}
blake2-rfc = { version = "0.2.18", default-features = false, optional = true }
blake2 = { version = "0.10.4", default-features = false, optional = true }
schnorrkel = { version = "0.9.1", features = [
"preaudit_deprecated",
"u64_backend",
@@ -98,7 +98,7 @@ std = [
"hash-db/std",
"sp-std/std",
"serde",
"blake2-rfc/std",
"blake2/std",
"ed25519-zebra",
"hex/std",
"base58",
@@ -130,7 +130,7 @@ std = [
# For the regular wasm runtime builds this should not be used.
full_crypto = [
"ed25519-zebra",
"blake2-rfc",
"blake2",
"schnorrkel",
"hex",
"libsecp256k1",