Skip to content

The source view is not available when crate failed to build. #607

Closed
@pftbest

Description

@pftbest

It should be possible to view the source code of a crate even if it failed to compile for some reason. I think some time ago this was working correctly, but I'm not sure.

It seems docs.rs is the only website on the internet which allows you to read the source code of a crate, because github link is often missing and even if it's not it contains a different source code than an actual crate version. It is very unfortunate that you are not able to see the source just because it failed to compile on docs.rs platform.

Example links:
https://docs.rs/crate/libui-sys/0.1.9/source/
https://docs.rs/crate/stm32ral/0.3.1/source/

Metadata

Metadata

Assignees

Labels

A-buildsArea: Building the documentation for a crateC-enhancementCategory: This is a new featureE-easyEffort: Should be easy to implement and would make a good first PRP-mediumMedium prioritymentorThis has instructions for getting started

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions