Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions crates/bin/docs_rs_web/templates/crate/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,17 @@
<div class="pure-u-1 pure-u-sm-17-24 pure-u-md-19-24 package-details" id="main">
<h1>{{ metadata.name }}</h1>
<div class="info">
There is very little structured metadata to build this page
from currently. You should check the
<a href="{{ params.rustdoc_url() }}">main library docs</a>,
<a href="{{ params.crate_details_url() }}">readme</a>, or
There is currently very little information to present on
this page because Docs.rs has only limited support for
extracting structured feature metadata from Cargo crates.
This issue is tracked in
<a href="https://rust-lang.github.io/rfcs/3416-feature-metadata.html">Rust RFC #3416</a>.
Check this library's
<a href="{{ params.rustdoc_url() }}">main docs</a>,
<a href="{{ params.crate_details_url() }}">readme</a>, and
<a href="{{ params.clone().with_inner_path("Cargo.toml.orig").with_page_kind(PageKind::Source).source_url() }}">Cargo.toml</a>
in case the author documented the features in them.
in case its authors have documentation for features
available there instead.
</div>
{%- if let Some(features) = sorted_features -%}
{%- if features.is_empty() -%}
Expand Down
Loading