Update immediate and transitive dependencies
I don't think this has happened in awhile but I've run a `cargo update` as well as trimming some of the duplicate/older dependencies in `Cargo.lock` by updating some of our immediate dependencies as well.
This commit is contained in:
4
crates/cache/src/lib.rs
vendored
4
crates/cache/src/lib.rs
vendored
@@ -50,7 +50,7 @@ impl<'config> ModuleCacheEntry<'config> {
|
||||
{
|
||||
let mut hasher = Sha256Hasher(Sha256::new());
|
||||
state.hash(&mut hasher);
|
||||
let hash: [u8; 32] = hasher.0.result().into();
|
||||
let hash: [u8; 32] = hasher.0.finalize().into();
|
||||
// standard encoding uses '/' which can't be used for filename
|
||||
let hash = base64::encode_config(&hash, base64::URL_SAFE_NO_PAD);
|
||||
|
||||
@@ -181,7 +181,7 @@ impl Hasher for Sha256Hasher {
|
||||
}
|
||||
|
||||
fn write(&mut self, bytes: &[u8]) {
|
||||
self.0.input(bytes);
|
||||
self.0.update(bytes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user