Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 052e8d5

Browse files
authoredJul 1, 2021
Rollup merge of #86616 - joshtriplett:simplify-crate-package-discrepancies, r=varkor
rustc_span: Explicitly handle crates that differ from package names The sha-1 and md-5 packages contain crates named sha1 and md5, respectively. This discrepancy makes it somewhat more challenging to automate detection of unused crates. Explicitly rename the packages to the names of the crates they contain, to simplify such detection.
2 parents 75f2263 + ab0f63e commit 052e8d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎compiler/rustc_span/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ scoped-tls = "1.0"
1717
unicode-width = "0.1.4"
1818
cfg-if = "0.1.2"
1919
tracing = "0.1"
20-
sha-1 = "0.9"
20+
sha1 = { package = "sha-1", version = "0.9" }
2121
sha2 = "0.9"
22-
md-5 = "0.9"
22+
md5 = { package = "md-5", version = "0.9" }

0 commit comments

Comments
 (0)
Please sign in to comment.