Merge pull request #159 from agbrs/renovate/siphasher-0.x

Update Rust crate siphasher to 0.3.8
This commit is contained in:
Gwilym Kuiper 2022-01-17 19:45:54 +00:00 committed by GitHub
commit 9f3dd0b86c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 26 deletions

4
agb-fixnum/Cargo.lock generated
View file

@ -27,9 +27,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "getrandom"
version = "0.2.3"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c"
dependencies = [
"cfg-if",
"libc",

4
agb-macros/Cargo.lock generated
View file

@ -20,9 +20,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "getrandom"
version = "0.2.3"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c"
dependencies = [
"cfg-if",
"libc",

View file

@ -9,7 +9,6 @@ dependencies = [
"hound",
"proc-macro2",
"quote",
"siphasher",
"syn",
]
@ -37,12 +36,6 @@ dependencies = [
"proc-macro2",
]
[[package]]
name = "siphasher"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "533494a8f9b724d33625ab53c6c4800f7cc445895924a8ef649222dcb76e938b"
[[package]]
name = "syn"
version = "1.0.85"

View file

@ -25,4 +25,3 @@ hound = "3.4.0"
syn = "1.0.85"
proc-macro2 = "1.0.36"
quote = "1.0.14"
siphasher = "0.3.7"

View file

@ -2,8 +2,8 @@
use proc_macro::TokenStream;
use quote::quote;
use siphasher::sip::SipHasher;
use std::{
collections::hash_map::DefaultHasher,
fs,
fs::File,
hash::{Hash, Hasher},
@ -106,7 +106,7 @@ where
}
fn get_out_filename(path: &Path) -> String {
let mut hasher = SipHasher::new();
let mut hasher = DefaultHasher::new();
path.hash(&mut hasher);
format!("{}.raw", hasher.finish())

11
agb/Cargo.lock generated
View file

@ -55,7 +55,6 @@ dependencies = [
"hound",
"proc-macro2",
"quote",
"siphasher",
"syn",
]
@ -116,9 +115,9 @@ dependencies = [
[[package]]
name = "getrandom"
version = "0.2.3"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c"
dependencies = [
"cfg-if",
"libc",
@ -298,12 +297,6 @@ dependencies = [
"syn",
]
[[package]]
name = "siphasher"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "533494a8f9b724d33625ab53c6c4800f7cc445895924a8ef649222dcb76e938b"
[[package]]
name = "syn"
version = "1.0.85"

View file

@ -249,9 +249,9 @@ checksum = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125"
[[package]]
name = "libloading"
version = "0.7.2"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afe203d669ec979b7128619bae5a63b7b42e9203c1b29146079ee05e2f604b52"
checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd"
dependencies = [
"cfg-if",
"winapi",