Skip to content

Old versions of cargo cannot install any version of a crate that has a version with a prelease string #584

@carols10cents

Description

@carols10cents

Related to #580 and rust-lang/cargo#3763.

With Cargo 0.8 (shipped with Rust 1.7) and earlier, version numbers that include things like -rc or -alpha can't be parsed.

Furthermore, Cargo 0.8 can't install any version of any crate that has any version number like that, even if you're not trying to use those particular versions.

I'm not sure exactly what the issue with crates.io's API is, and if it's possible to fix or not, but I think we should investigate it and see if there's a way we could change crates.io's API to allow older versions of cargo to continue to be able to install crates that happen to have some version like this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions