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.
This commit is contained in:
Guillaume Gomez 2021-07-01 11:15:40 +02:00 committed by GitHub
commit 052e8d5933
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,6 @@ scoped-tls = "1.0"
unicode-width = "0.1.4"
cfg-if = "0.1.2"
tracing = "0.1"
sha-1 = "0.9"
sha1 = { package = "sha-1", version = "0.9" }
sha2 = "0.9"
md-5 = "0.9"
md5 = { package = "md-5", version = "0.9" }