1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 21:57:41 +00:00

chore: replace sha-1 with sha1 crate (#4662)

This commit is contained in:
David Knaack 2022-11-28 20:34:21 +01:00 committed by GitHub
parent 7998c4a14d
commit 7fa0c04555
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 20 deletions

27
Cargo.lock generated
View File

@ -575,9 +575,9 @@ dependencies = [
[[package]] [[package]]
name = "digest" name = "digest"
version = "0.10.3" version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f"
dependencies = [ dependencies = [
"block-buffer 0.10.2", "block-buffer 0.10.2",
"crypto-common", "crypto-common",
@ -1046,7 +1046,7 @@ dependencies = [
"parking_lot", "parking_lot",
"prodash", "prodash",
"quick-error", "quick-error",
"sha1 0.10.1", "sha1 0.10.5",
"sha1_smol", "sha1_smol",
"walkdir", "walkdir",
] ]
@ -2101,7 +2101,7 @@ checksum = "57959b91f0a133f89a68be874a5c88ed689c19cd729ecdb5d762ebf16c64d662"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"pest", "pest",
"sha1 0.10.1", "sha1 0.10.5",
] ]
[[package]] [[package]]
@ -2632,17 +2632,6 @@ dependencies = [
"syn", "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]] [[package]]
name = "sha1" name = "sha1"
version = "0.6.1" version = "0.6.1"
@ -2654,13 +2643,13 @@ dependencies = [
[[package]] [[package]]
name = "sha1" name = "sha1"
version = "0.10.1" version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c77f4e7f65455545c2153c1253d25056825e77ee2533f0e41deb65a93a34852f" checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"cpufeatures", "cpufeatures",
"digest 0.10.3", "digest 0.10.6",
"sha1-asm", "sha1-asm",
] ]
@ -2817,7 +2806,7 @@ dependencies = [
"semver 1.0.14", "semver 1.0.14",
"serde", "serde",
"serde_json", "serde_json",
"sha-1", "sha1 0.10.5",
"shadow-rs", "shadow-rs",
"shell-words", "shell-words",
"starship-battery", "starship-battery",

View File

@ -73,7 +73,7 @@ rust-ini = "0.18.0"
semver = "1.0.14" semver = "1.0.14"
serde = { version = "1.0.147", features = ["derive"] } serde = { version = "1.0.147", features = ["derive"] }
serde_json = "1.0.89" serde_json = "1.0.89"
sha-1 = "0.10.0" sha1 = "0.10.5"
shadow-rs = { version = "0.18.0", default-features = false } shadow-rs = { version = "0.18.0", default-features = false }
# battery is optional (on by default) because the crate doesn't currently build for Termux # battery is optional (on by default) because the crate doesn't currently build for Termux
# see: https://github.com/svartalf/rust-battery/issues/33 # see: https://github.com/svartalf/rust-battery/issues/33