feat: add asm sha1 implementation

This commit is contained in:
Anna 2023-08-31 00:51:49 -04:00
parent fae02e4581
commit fae0f91405
Signed by: anna
GPG Key ID: D0943384CD9F87D1
2 changed files with 11 additions and 1 deletions

10
Cargo.lock generated
View File

@ -2064,6 +2064,16 @@ dependencies = [
"cfg-if",
"cpufeatures",
"digest 0.10.7",
"sha1-asm",
]
[[package]]
name = "sha1-asm"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ba6947745e7f86be3b8af00b7355857085dbdf8901393c89514510eb61f4e21"
dependencies = [
"cc",
]
[[package]]

View File

@ -22,5 +22,5 @@ num_cpus = "1"
rand = "0.8"
sequoia-openpgp = { git = "https://gitlab.com/sequoia-pgp/sequoia" }
serde = { version = "1", features = ["derive"] }
sha1 = "0.10"
sha1 = { version = "0.10", features = ["asm"] }
toml = "0.7"