You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to build a project that depends on sha1 v0.10.2 with rustc 1.48, one gets error messages from cargo. This appears to be an instance of rust-lang/cargo#10954, which means the sha1 crate simply needs to be re-uploaded with stable cargo or a newer nightly cargo.
The error message is:
error: failed to download `sha1 v0.10.2`
Caused by:
unable to get packages from source
Caused by:
failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/sha1-0.10.2/Cargo.toml`
Caused by:
feature `resolver` is required
this Cargo does not support nightly features, but if you
switch to nightly channel you can add
`cargo-features = ["resolver"]` to enable this feature
The text was updated successfully, but these errors were encountered:
Unfortunately, this issue is not fixed in sha1 v0.10.3, the new release still contains a resolver = "2" line in the generated Cargo.toml: https://docs.rs/crate/sha1/0.10.3/source/Cargo.toml
Error message is basically still the same as shown above, except with a newer version number.
striezel
changed the title
MSRV on sha1 v0.10.2 is broken
MSRV on sha1 v0.10.2 and v0.10.3 is broken
Sep 2, 2022
When trying to build a project that depends on
sha1
v0.10.2 with rustc 1.48, one gets error messages from cargo. This appears to be an instance of rust-lang/cargo#10954, which means thesha1
crate simply needs to be re-uploaded with stable cargo or a newer nightly cargo.The error message is:
The text was updated successfully, but these errors were encountered: