diff --git a/Cargo.toml b/Cargo.toml index 91733df..867476a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,7 @@ doc-scrape-examples = false [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +rustdoc-args = ["--generate-link-to-definition"] [patch.crates-io] ref-cast = { path = "." } diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 95ecfda..6932e42 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -22,3 +22,4 @@ ref-cast = "1" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +rustdoc-args = ["--generate-link-to-definition"]