diff options
| author | pierwill <pierwill@users.noreply.github.com> | 2022-02-10 10:54:01 -0600 |
|---|---|---|
| committer | pierwill <pierwill@users.noreply.github.com> | 2022-02-13 15:29:01 -0600 |
| commit | ef6dd124d67305edeb5e9e720cc2852936ffc044 (patch) | |
| tree | e189075b3f7f9bb1d7ee78651592167ec72292d7 /compiler/rustc_span | |
| parent | 1a8fa2af1c909ae5c6180f978275894c75a90c44 (diff) | |
| download | rust-ef6dd124d67305edeb5e9e720cc2852936ffc044.tar.gz rust-ef6dd124d67305edeb5e9e720cc2852936ffc044.zip | |
Update `sha1`, `sha2`, and `md5` dependencies
This removes the `cpuid-bool` dependency, which is deprecated, while adding `crypto-common` as a new dependency.
Diffstat (limited to 'compiler/rustc_span')
| -rw-r--r-- | compiler/rustc_span/Cargo.toml | 6 | ||||
| -rw-r--r-- | compiler/rustc_span/src/lib.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_span/Cargo.toml b/compiler/rustc_span/Cargo.toml index 781fb8c1e5d..7227b193f21 100644 --- a/compiler/rustc_span/Cargo.toml +++ b/compiler/rustc_span/Cargo.toml @@ -16,6 +16,6 @@ scoped-tls = "1.0" unicode-width = "0.1.4" cfg-if = "0.1.2" tracing = "0.1" -sha1 = { package = "sha-1", version = "0.9" } -sha2 = "0.9" -md5 = { package = "md-5", version = "0.9" } +sha1 = { package = "sha-1", version = "0.10.0" } +sha2 = "0.10.1" +md5 = { package = "md-5", version = "0.10.0" } diff --git a/compiler/rustc_span/src/lib.rs b/compiler/rustc_span/src/lib.rs index 3ce9f852c3d..dea2fbf04be 100644 --- a/compiler/rustc_span/src/lib.rs +++ b/compiler/rustc_span/src/lib.rs @@ -68,8 +68,8 @@ use std::ops::{Add, Range, Sub}; use std::path::{Path, PathBuf}; use std::str::FromStr; +use md5::Digest; use md5::Md5; -use sha1::Digest; use sha1::Sha1; use sha2::Sha256; |
