chore: update sha2 dep for stx-genesis lib

This commit is contained in:
Matthew Little
2022-02-25 21:15:37 +01:00
parent 09b091396f
commit 3f4229eb39
2 changed files with 7 additions and 2 deletions

2
Cargo.lock generated
View File

@@ -2754,7 +2754,7 @@ name = "stx-genesis"
version = "0.1.0"
dependencies = [
"libflate",
"sha2 0.9.9",
"sha2 0.10.2",
]
[[package]]

View File

@@ -13,4 +13,9 @@ path = "src/lib.rs"
[build-dependencies]
libflate = "1.0.3"
sha2 = "0.9.2"
[target.'cfg(all(any(target_arch = "x86_64", target_arch = "x86", target_arch = "aarch64"), not(target_env = "msvc")))'.build-dependencies]
sha2 = { version = "0.10", features = ["asm"] }
[target.'cfg(any(not(any(target_arch = "x86_64", target_arch = "x86", target_arch = "aarch64")), target_env = "msvc"))'.build-dependencies]
sha2 = { version = "0.10" }