Skip to content

docs.rs reuses crate-specific resources from empty_library for other crates #1313

@coastalwhite

Description

@coastalwhite

Docs.rs shows 'empty_library' in the sidebar and has no search results other than empty_library.

Original bug report

When publishing a no_std crate without dependencies, it will add an empty_library to the crates on [docs.rs].

Reproduction steps:

  1. Publish a no_std library without dependencies.
  2. The docs.rs page will now have a empty_library in the crates.

This seems like a rather awkward way to tell the reader the crate has no dependencies. Now if you click any deeper into the documentation, on the left (under the crates header) the empty_library will be a clickable link that leads to a dead link.

This is what I mean: Link to CRC8-RS Docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-buildsArea: Building the documentation for a crateC-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions