Opt in to generate-macro-expansion when building on docs.rs

This commit is contained in:
David Tolnay 2025-09-16 16:29:21 -07:00
parent efa66e3a1d
commit b9cafe2626
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -37,6 +37,7 @@ features = ["preserve_order", "raw_value", "unbounded_depth"]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
"--generate-link-to-definition",
"--generate-macro-expansion",
"--extern-html-root-url=core=https://doc.rust-lang.org",
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
"--extern-html-root-url=std=https://doc.rust-lang.org",