Skip to content

cargo publish does not generate a warning during --dry-run #12150

@softstream-link

Description

@softstream-link

Problem

A cargo.toml file with invalid category does not generate warning with --dry-run but does when actually publishing to crates.io

Cargo.toml

[package]
categories = ["NOT VALID"]

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions