Skip to content

cargo install foo=1.2.3 does not detect invalid character #15318

Open
@HKalbasi

Description

@HKalbasi

Problem

The cargo add foo=1.2.3 says that = is not a valid character for a crate name, but cargo install foo=1.2.3 tries to download foo=1.2.3 crate. If it tries to detect the = and == and suggest using @ both in cargo add and cargo install, it would be even better.

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version


Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugCommand-addCommand-installS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions