Add system hasher

This commit is contained in:
Igor Katson 2021-07-01 17:18:07 +01:00
parent 4b6ed36927
commit a6981231c1
5 changed files with 67 additions and 4 deletions

37
Cargo.lock generated
View file

@ -148,6 +148,24 @@ dependencies = [
"syn",
]
[[package]]
name = "commoncrypto"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d056a8586ba25a1e4d61cb090900e495952c7886786fc55f909ab2f819b69007"
dependencies = [
"commoncrypto-sys",
]
[[package]]
name = "commoncrypto-sys"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fed34f46747aa73dfaa578069fd8279d2818ade2b55f38f22a9401c7f4083e2"
dependencies = [
"libc",
]
[[package]]
name = "core-foundation"
version = "0.9.1"
@ -173,6 +191,18 @@ dependencies = [
"libc",
]
[[package]]
name = "crypto-hash"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a77162240fd97248d19a564a565eb563a3f592b386e4136fb300909e67dddca"
dependencies = [
"commoncrypto",
"hex",
"openssl",
"winapi",
]
[[package]]
name = "digest"
version = "0.9.0"
@ -444,6 +474,12 @@ dependencies = [
"libc",
]
[[package]]
name = "hex"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
[[package]]
name = "http"
version = "0.2.4"
@ -604,6 +640,7 @@ dependencies = [
"bincode",
"bitvec",
"byteorder",
"crypto-hash",
"futures",
"log",
"openssl",