Skip to content

Does every crate need a homepage? #26

@dtolnay

Description

@dtolnay

The current guideline says:

Cargo.toml includes all common headers (C-CARGO-HEADERS)
\ authors, description, documentation, homepage, repository, readme, keywords, categories, license

Does something like lazy_static need a "homepage"? Here are two points of view:

  • NO!

    The crates.io page already links to "repository" and "documentation." For something like lazy_static that should be all you need.

  • YES!

    The "homepage" is the thing that we want people to link to when discussing a particular crate. For example in a blog post about Serde we would want them to link to https://serde.rs which is the homepage for Serde. We would not want them to link to crates.io or the repository or the rustdoc because those are not our preferred landing page for new users.

    Simpler crates like lazy_static should choose one of crates.io, repository, or rustdoc as their preferred landing page for new users and set that as the homepage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions