Skip to content

Workspace's resolver = "2" leaks when crate is published, leading to MSRV breaks #11047

Closed as not planned
@newpavlov

Description

@newpavlov

Problem

In RustCrypto we have strict MSRV guarantees. After new versions of several of our hash crates (with MSRV equal to 1.41) have been published, we got reports like this: RustCrypto/hashes#394. Initially we thought that #10954 is responsible for it (I usually use Nightly), but after I re-released the crates in RustCrypto/hashes#399 using the stable toolchain (1.63) the issue was not resolved.

It looks like that for some reason resolver = "2" used in the workspace's Cargo.toml gets leaked during publishing of the crates by the stable toolchain. Previously we did not have such issue (UPD: The PR which added resolver = "2" was after releases which I thought did not trigger the issue). Is this behavior intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions