diff --git a/Cargo.lock b/Cargo.lock index 57a69f0d..6fa58f2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -575,9 +575,9 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.3" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" +checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" dependencies = [ "block-buffer 0.10.2", "crypto-common", @@ -1046,7 +1046,7 @@ dependencies = [ "parking_lot", "prodash", "quick-error", - "sha1 0.10.1", + "sha1 0.10.5", "sha1_smol", "walkdir", ] @@ -2101,7 +2101,7 @@ checksum = "57959b91f0a133f89a68be874a5c88ed689c19cd729ecdb5d762ebf16c64d662" dependencies = [ "once_cell", "pest", - "sha1 0.10.1", + "sha1 0.10.5", ] [[package]] @@ -2632,17 +2632,6 @@ dependencies = [ "syn", ] -[[package]] -name = "sha-1" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.3", -] - [[package]] name = "sha1" version = "0.6.1" @@ -2654,13 +2643,13 @@ dependencies = [ [[package]] name = "sha1" -version = "0.10.1" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77f4e7f65455545c2153c1253d25056825e77ee2533f0e41deb65a93a34852f" +checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if 1.0.0", "cpufeatures", - "digest 0.10.3", + "digest 0.10.6", "sha1-asm", ] @@ -2817,7 +2806,7 @@ dependencies = [ "semver 1.0.14", "serde", "serde_json", - "sha-1", + "sha1 0.10.5", "shadow-rs", "shell-words", "starship-battery", diff --git a/Cargo.toml b/Cargo.toml index dedad930..8f42e0a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,7 +73,7 @@ rust-ini = "0.18.0" semver = "1.0.14" serde = { version = "1.0.147", features = ["derive"] } serde_json = "1.0.89" -sha-1 = "0.10.0" +sha1 = "0.10.5" shadow-rs = { version = "0.18.0", default-features = false } # battery is optional (on by default) because the crate doesn't currently build for Termux # see: https://github.com/svartalf/rust-battery/issues/33