Skip to content

Commit ee3c237

Browse files
committed
Opt in to generate-macro-expansion when building on docs.rs
1 parent 6f5eb7d commit ee3c237

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

serde/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ features = ["derive", "rc", "unstable"]
2626
targets = ["x86_64-unknown-linux-gnu"]
2727
rustdoc-args = [
2828
"--generate-link-to-definition",
29+
"--generate-macro-expansion",
2930
"--extern-html-root-url=core=https://doc.rust-lang.org",
3031
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
3132
"--extern-html-root-url=std=https://doc.rust-lang.org",

serde_core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ features = ["rc", "result", "unstable"]
2525
targets = ["x86_64-unknown-linux-gnu"]
2626
rustdoc-args = [
2727
"--generate-link-to-definition",
28+
"--generate-macro-expansion",
2829
"--extern-html-root-url=core=https://doc.rust-lang.org",
2930
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
3031
"--extern-html-root-url=std=https://doc.rust-lang.org",

serde_derive/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ serde = { version = "1", path = "../serde" }
3434
targets = ["x86_64-unknown-linux-gnu"]
3535
rustdoc-args = [
3636
"--generate-link-to-definition",
37+
"--generate-macro-expansion",
3738
"--extern-html-root-url=core=https://doc.rust-lang.org",
3839
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
3940
"--extern-html-root-url=std=https://doc.rust-lang.org",

serde_derive_internals/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ syn = { workspace = true, features = ["clone-impls", "derive", "parsing", "print
2424
targets = ["x86_64-unknown-linux-gnu"]
2525
rustdoc-args = [
2626
"--generate-link-to-definition",
27+
"--generate-macro-expansion",
2728
"--extern-html-root-url=core=https://doc.rust-lang.org",
2829
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
2930
"--extern-html-root-url=std=https://doc.rust-lang.org",

0 commit comments

Comments
 (0)