diff rust/hg-core/Cargo.toml @ 45531:b0d6309ff50c

hg-core: check data integrity in `Revlog` Check that the hash of the data reconstructed from deltas matches the hash stored in the revision. Differential Revision: https://phab.mercurial-scm.org/D9005
author Antoine Cezar <antoine.cezar@octobus.net>
date Wed, 02 Sep 2020 15:23:25 +0200
parents 26c53ee51c68
children e604a3c03ab9
line wrap: on
line diff
--- a/rust/hg-core/Cargo.toml	Wed Sep 23 12:26:16 2020 +0200
+++ b/rust/hg-core/Cargo.toml	Wed Sep 02 15:23:25 2020 +0200
@@ -25,6 +25,7 @@
 log = "0.4.8"
 memmap = "0.7.0"
 zstd = "0.5.3"
+rust-crypto = "0.2.36"
 
 # We don't use the `miniz-oxide` backend because its minimum Rust version is
 # `1.36`. However, this PR (https://github.com/Frommi/miniz_oxide/pull/84/files)