diff --git a/precompiled/serde_derive/Cargo.toml b/precompiled/serde_derive/Cargo.toml index a5ea0362d..7685fccac 100644 --- a/precompiled/serde_derive/Cargo.toml +++ b/precompiled/serde_derive/Cargo.toml @@ -31,5 +31,6 @@ serde = { version = "1", path = "../../serde" } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +rustdoc-args = ["--generate-link-to-definition"] [workspace] diff --git a/serde/Cargo.toml b/serde/Cargo.toml index b23a443b5..ee5c328b0 100644 --- a/serde/Cargo.toml +++ b/serde/Cargo.toml @@ -28,6 +28,7 @@ features = ["derive", "rc"] [package.metadata.docs.rs] features = ["derive"] targets = ["x86_64-unknown-linux-gnu"] +rustdoc-args = ["--generate-link-to-definition"] ### FEATURES ################################################################# diff --git a/serde_derive/Cargo.toml b/serde_derive/Cargo.toml index 7fd5ab928..e375ae9ee 100644 --- a/serde_derive/Cargo.toml +++ b/serde_derive/Cargo.toml @@ -30,3 +30,4 @@ serde = { version = "1", path = "../serde" } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +rustdoc-args = ["--generate-link-to-definition"] diff --git a/serde_derive_internals/Cargo.toml b/serde_derive_internals/Cargo.toml index a019a5165..7e5ec1f35 100644 --- a/serde_derive_internals/Cargo.toml +++ b/serde_derive_internals/Cargo.toml @@ -21,3 +21,4 @@ syn = { version = "2.0.25", default-features = false, features = ["clone-impls", [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +rustdoc-args = ["--generate-link-to-definition"] diff --git a/serde_test/Cargo.toml b/serde_test/Cargo.toml index 994d8e79e..9fa0011fa 100644 --- a/serde_test/Cargo.toml +++ b/serde_test/Cargo.toml @@ -25,3 +25,4 @@ doc-scrape-examples = false [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +rustdoc-args = ["--generate-link-to-definition"]