Rust docs support linking to many crate items by name (functions, modules, ...) including crates.
However, the generated crate links points to folder, not index page (index.html) which doesn't work locally or without web server with right directives.
//! Link to [`serde`] crate
Demo repository: https://github.com/loganmzz/rust-docs-issue-link-crate-root
Tested with cargo 1.85.0 (d73d2caf9 2024-12-31):
On:
rust_docs_issue_link_crate_root
rust_docs_issue_link_crate_root_sub
Rust docs support linking to many crate items by name (functions, modules, ...) including crates.
However, the generated crate links points to folder, not index page (
index.html) which doesn't work locally or without web server with right directives.//! Link to [`serde`] crateDemo repository: https://github.com/loganmzz/rust-docs-issue-link-crate-root
Tested with
cargo 1.85.0 (d73d2caf9 2024-12-31):On:
rust_docs_issue_link_crate_rootserderust_docs_issue_link_crate_root_sub