Skip to content

Adding one more tab for crate's features #2405

Closed

Description

@HosMercury

I suggest adding one more tab for each crate to doc their features

after versions tab or beside !!

Right now there is no good way to find every crate feature and their usage. Organizing features will facilitate the finding and usefulness of a crate feature and how to use it.

Activity

  1. syphar commented on Feb 1, 2024

    @syphar
    Member

    Hi @HosMercury

    can you elaborate what's missing for you?

    We already have a menu template for features:
    image

    And some generated description around them:

    https://docs.rs/crate/itertools/latest/features

  2. HosMercury commented on Feb 1, 2024

    @HosMercury
    Author

    First time to know that
    Although each feature should be better documented. Right?

  3. syphar commented on Feb 1, 2024

    @syphar
    Member

    Although each feature should be better documented. Right?

    Yeah, that's true, which is why we added this comment:

    There is very little structured metadata to build this page from currently. You should check the main library docs, readme, or Cargo.toml in case the author documented the features in them.

  4. Nemo157 commented on Feb 21, 2024

    @Nemo157
    Contributor

    Also see rust-lang/rfcs#3485 which we could eventually pull the data from (or deprecate our feature-flags page once rustdoc starts generating data based off it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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