Skip to content

MSRV on digest v0.10.4 is broken #1116

@striezel

Description

@striezel

When trying to build a project that depends on digest v0.10.4 with rustc 1.48, one gets error messages from cargo. This appears to be a similar issue like e. g. RustCrypto/hashes#398 and probably needs a similar fix like RustCrypto/hashes#401.

The error message is:

error: failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/digest-0.10.4/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 problem is due to the generated Cargo.toml containing the resolver = "2" line: https://docs.rs/crate/digest/0.10.4/source/Cargo.toml

Since the documented MSRV of digest is still rustc 1.41, this breaks the MSRV guarantee.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions