Skip to content

docs.rs/cratename redirect to version with failed build gives "The requested resource does not exist" and no links #232

Closed
@huonw

Description

@huonw

The short-links like https://docs.rs/im seem to do a redirect to the latest published version of the crate (which is 12.0.0 for that crate at the time of filing, i.e. https://docs.rs/im/12.0.0/im/). If that version failed to build, then the page is rather useless: just "The requested resource does not exist". It would be nice to give more information, such as a link to the crate page (e.g. https://docs.rs/crate/im/12.0.0) which at least has info about build failures, and/or a link to the latest successful build.

(A more general form of this issue is arbitrary URLs that are invalid but still "obviously" referring to a specific crate, e.g. https://docs.rs/crate/im/100.0.0. These could also contain a link back to the crate they refer to.)

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