From 10e6bb764581f20c1078ab67e7c3958c151bc4cf Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 14 Jul 2023 17:55:09 +0200 Subject: [PATCH] Add `--generate-link-to-definition` option when building on docs.rs --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1ece598be8..8e8343de45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -92,7 +92,7 @@ nightly = [] [package.metadata.docs.rs] features = ["ffi", "full"] -rustdoc-args = ["--cfg", "docsrs", "--cfg", "hyper_unstable_ffi"] +rustdoc-args = ["--cfg", "docsrs", "--cfg", "hyper_unstable_ffi", "--generate-link-to-definition"] [package.metadata.playground] features = ["full"]