Skip to content

Commit 71c5f1e

Browse files
authored
Generate links to definition in source code pages on docs.rs and dev-docs.bevyengine.org (#12965)
# Objective - Fix issue #2611 ## Solution - Add `--generate-link-to-definition` to all the `rustdoc-args` arrays in the `Cargo.toml`s (for docs.rs) - Add `--generate-link-to-definition` to the `RUSTDOCFLAGS` environment variable in the docs workflow (for dev-docs.bevyengine.org) - Document all the workspace crates in the docs workflow (needed because otherwise only the source code of the `bevy` package will be included, making the argument useless) - I think this also fixes #3662, since it fixes the bug on dev-docs.bevyengine.org, while on docs.rs it has been fixed for a while on their side. --- ## Changelog - The source code viewer on docs.rs now includes links to the definitions.
1 parent 29e9f0a commit 71c5f1e

File tree

53 files changed

+59
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+59
-72
lines changed

.github/workflows/docs.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,19 @@ jobs:
5858
- name: Build docs
5959
env:
6060
# needs to be in sync with [package.metadata.docs.rs]
61-
RUSTDOCFLAGS: -Zunstable-options --cfg=docsrs
62-
run: cargo doc --all-features --no-deps -p bevy -Zunstable-options -Zrustdoc-scrape-examples
61+
RUSTDOCFLAGS: -Zunstable-options --cfg=docsrs --generate-link-to-definition
62+
run: cargo doc \
63+
-Zunstable-options \
64+
-Zrustdoc-scrape-examples \
65+
--all-features \
66+
--workspace \
67+
--no-deps \
68+
--exclude ci \
69+
--exclude errors \
70+
--exclude bevy_mobile_example \
71+
--exclude build-wasm-example \
72+
--exclude build-templated-pages \
73+
--exclude example-showcase
6374

6475
# This adds the following:
6576
# - A top level redirect to the bevy crate documentation

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3339,6 +3339,6 @@ lto = "fat"
33393339
panic = "abort"
33403340

33413341
[package.metadata.docs.rs]
3342-
rustdoc-args = ["-Zunstable-options"]
3342+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
33433343
all-features = true
33443344
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

crates/bevy_a11y/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ accesskit = "0.16"
2020
workspace = true
2121

2222
[package.metadata.docs.rs]
23-
rustdoc-args = ["-Zunstable-options"]
23+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2424
all-features = true

crates/bevy_animation/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ uuid = { version = "1.7", features = ["v4"] }
4242
workspace = true
4343

4444
[package.metadata.docs.rs]
45-
rustdoc-args = ["-Zunstable-options"]
45+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4646
all-features = true

crates/bevy_app/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ console_error_panic_hook = "0.1.6"
3838
workspace = true
3939

4040
[package.metadata.docs.rs]
41-
rustdoc-args = ["-Zunstable-options"]
41+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4242
all-features = true

crates/bevy_asset/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ bevy_log = { path = "../bevy_log", version = "0.15.0-dev" }
6767
workspace = true
6868

6969
[package.metadata.docs.rs]
70-
rustdoc-args = ["-Zunstable-options"]
70+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
7171
all-features = true

crates/bevy_asset/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ quote = "1.0"
2222
workspace = true
2323

2424
[package.metadata.docs.rs]
25-
rustdoc-args = ["-Zunstable-options"]
25+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2626
all-features = true

crates/bevy_audio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ android_shared_stdcxx = ["cpal/oboe-shared-stdcxx"]
5252
workspace = true
5353

5454
[package.metadata.docs.rs]
55-
rustdoc-args = ["-Zunstable-options"]
55+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
5656
all-features = true

crates/bevy_color/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ serialize = ["serde"]
2828
workspace = true
2929

3030
[package.metadata.docs.rs]
31-
rustdoc-args = ["-Zunstable-options"]
31+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
3232
all-features = true

crates/bevy_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ serde_test = "1.0"
3939
workspace = true
4040

4141
[package.metadata.docs.rs]
42-
rustdoc-args = ["-Zunstable-options"]
42+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4343
all-features = true

crates/bevy_core_pipeline/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ thiserror = "1.0"
4545
workspace = true
4646

4747
[package.metadata.docs.rs]
48-
rustdoc-args = ["-Zunstable-options"]
48+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4949
all-features = true

crates/bevy_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ syn = { version = "2.0", features = ["full"] }
2121
workspace = true
2222

2323
[package.metadata.docs.rs]
24-
rustdoc-args = ["-Zunstable-options"]
24+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2525
all-features = true

crates/bevy_dev_tools/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ ron = { version = "0.8.0", optional = true }
4646
workspace = true
4747

4848
[package.metadata.docs.rs]
49-
rustdoc-args = ["-Zunstable-options"]
49+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
5050
all-features = true

crates/bevy_diagnostic/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ sysinfo = { version = "0.30.0", optional = true, default-features = false }
3939
workspace = true
4040

4141
[package.metadata.docs.rs]
42-
rustdoc-args = ["-Zunstable-options"]
42+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4343
all-features = true

crates/bevy_dylib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ bevy_internal = { path = "../bevy_internal", version = "0.15.0-dev", default-fea
1818
workspace = true
1919

2020
[package.metadata.docs.rs]
21-
rustdoc-args = ["-Zunstable-options"]
21+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2222
all-features = true

crates/bevy_dynamic_plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ thiserror = "1.0"
2020
workspace = true
2121

2222
[package.metadata.docs.rs]
23-
rustdoc-args = ["-Zunstable-options"]
23+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2424
all-features = true

crates/bevy_ecs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ path = "examples/change_detection.rs"
5353
workspace = true
5454

5555
[package.metadata.docs.rs]
56-
rustdoc-args = ["-Zunstable-options"]
56+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
5757
all-features = true

crates/bevy_ecs/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ proc-macro2 = "1.0"
1919
workspace = true
2020

2121
[package.metadata.docs.rs]
22-
rustdoc-args = ["-Zunstable-options"]
22+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2323
all-features = true

crates/bevy_encase_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ encase_derive_impl = "0.8"
1919
workspace = true
2020

2121
[package.metadata.docs.rs]
22-
rustdoc-args = ["-Zunstable-options"]
22+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2323
all-features = true

crates/bevy_gilrs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ thiserror = "1.0"
2424
workspace = true
2525

2626
[package.metadata.docs.rs]
27-
rustdoc-args = ["-Zunstable-options"]
27+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2828
all-features = true

crates/bevy_gizmos/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ bytemuck = "1.0"
3535
workspace = true
3636

3737
[package.metadata.docs.rs]
38-
rustdoc-args = ["-Zunstable-options"]
38+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
3939
all-features = true

crates/bevy_gizmos/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ quote = "1.0"
2323
workspace = true
2424

2525
[package.metadata.docs.rs]
26-
rustdoc-args = ["-Zunstable-options"]
26+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2727
all-features = true

crates/bevy_gltf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ bevy_log = { path = "../bevy_log", version = "0.15.0-dev" }
6767
workspace = true
6868

6969
[package.metadata.docs.rs]
70-
rustdoc-args = ["-Zunstable-options"]
70+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
7171
all-features = true

crates/bevy_hierarchy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ smallvec = { version = "1.11", features = ["union", "const_generics"] }
3131
workspace = true
3232

3333
[package.metadata.docs.rs]
34-
rustdoc-args = ["-Zunstable-options"]
34+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
3535
all-features = true

crates/bevy_input/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ smol_str = "0.2"
4343
workspace = true
4444

4545
[package.metadata.docs.rs]
46-
rustdoc-args = ["-Zunstable-options"]
46+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4747
all-features = true

crates/bevy_internal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,5 +244,5 @@ bevy_winit = { path = "../bevy_winit", optional = true, version = "0.15.0-dev" }
244244
workspace = true
245245

246246
[package.metadata.docs.rs]
247-
rustdoc-args = ["-Zunstable-options"]
247+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
248248
all-features = true

crates/bevy_log/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ tracing-wasm = "0.2.1"
4040
workspace = true
4141

4242
[package.metadata.docs.rs]
43-
rustdoc-args = ["-Zunstable-options"]
43+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4444
all-features = true

crates/bevy_macro_utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ proc-macro2 = "1.0"
2020
workspace = true
2121

2222
[package.metadata.docs.rs]
23-
rustdoc-args = ["-Zunstable-options"]
23+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2424
all-features = true

crates/bevy_math/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ rand = ["dep:rand", "dep:rand_distr", "glam/rand"]
5757
workspace = true
5858

5959
[package.metadata.docs.rs]
60-
rustdoc-args = ["-Zunstable-options"]
60+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
6161
all-features = true

crates/bevy_mikktspace/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ name = "generate"
2525
workspace = true
2626

2727
[package.metadata.docs.rs]
28-
rustdoc-args = ["-Zunstable-options"]
28+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2929
all-features = true

crates/bevy_pbr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ static_assertions = "1"
6464
workspace = true
6565

6666
[package.metadata.docs.rs]
67-
rustdoc-args = ["-Zunstable-options"]
67+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
6868
all-features = true

crates/bevy_ptr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ keywords = ["bevy", "no_std"]
1414
workspace = true
1515

1616
[package.metadata.docs.rs]
17-
rustdoc-args = ["-Zunstable-options"]
17+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
1818
all-features = true

crates/bevy_reflect/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ required-features = ["documentation"]
5757
workspace = true
5858

5959
[package.metadata.docs.rs]
60-
rustdoc-args = ["-Zunstable-options"]
60+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
6161
all-features = true

crates/bevy_reflect/derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ uuid = { version = "1.1", features = ["v4"] }
3030
workspace = true
3131

3232
[package.metadata.docs.rs]
33-
rustdoc-args = ["-Zunstable-options"]
33+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
3434
all-features = true

crates/bevy_render/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,5 @@ send_wrapper = "0.6.0"
130130
workspace = true
131131

132132
[package.metadata.docs.rs]
133-
rustdoc-args = ["-Zunstable-options"]
133+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
134134
all-features = true

crates/bevy_render/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ quote = "1.0"
2222
workspace = true
2323

2424
[package.metadata.docs.rs]
25-
rustdoc-args = ["-Zunstable-options"]
25+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2626
all-features = true

crates/bevy_scene/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ rmp-serde = "1.1"
4040
workspace = true
4141

4242
[package.metadata.docs.rs]
43-
rustdoc-args = ["-Zunstable-options"]
43+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4444
all-features = true

crates/bevy_sprite/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ radsort = "0.1"
4141
workspace = true
4242

4343
[package.metadata.docs.rs]
44-
rustdoc-args = ["-Zunstable-options"]
44+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4545
all-features = true

crates/bevy_tasks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ web-time = { version = "1.1" }
3030
workspace = true
3131

3232
[package.metadata.docs.rs]
33-
rustdoc-args = ["-Zunstable-options"]
33+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
3434
all-features = true

crates/bevy_text/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ approx = "0.5.1"
4242
workspace = true
4343

4444
[package.metadata.docs.rs]
45-
rustdoc-args = ["-Zunstable-options"]
45+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
4646
all-features = true

crates/bevy_time/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ thiserror = "1.0"
3232
workspace = true
3333

3434
[package.metadata.docs.rs]
35-
rustdoc-args = ["-Zunstable-options"]
35+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
3636
all-features = true

crates/bevy_transform/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ serialize = ["dep:serde", "bevy_math/serialize"]
5252
workspace = true
5353

5454
[package.metadata.docs.rs]
55-
rustdoc-args = ["-Zunstable-options"]
55+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
5656
all-features = true

crates/bevy_ui/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ serialize = ["serde", "smallvec/serde"]
4646
workspace = true
4747

4848
[package.metadata.docs.rs]
49-
rustdoc-args = ["-Zunstable-options"]
49+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
5050
all-features = true

crates/bevy_utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ getrandom = { version = "0.2.0", features = ["js"] }
2929
workspace = true
3030

3131
[package.metadata.docs.rs]
32-
rustdoc-args = ["-Zunstable-options"]
32+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
3333
all-features = true

crates/bevy_utils/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ proc-macro2 = "1.0"
1818
workspace = true
1919

2020
[package.metadata.docs.rs]
21-
rustdoc-args = ["-Zunstable-options"]
21+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
2222
all-features = true

crates/bevy_window/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ smol_str = "0.2"
3232
workspace = true
3333

3434
[package.metadata.docs.rs]
35-
rustdoc-args = ["-Zunstable-options"]
35+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
3636
all-features = true

crates/bevy_winit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ crossbeam-channel = "0.5"
5656
workspace = true
5757

5858
[package.metadata.docs.rs]
59-
rustdoc-args = ["-Zunstable-options"]
59+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
6060
all-features = true

errors/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,3 @@ bevy = { path = ".." }
1010

1111
[lints]
1212
workspace = true
13-
14-
[package.metadata.docs.rs]
15-
rustdoc-args = ["-Zunstable-options"]
16-
all-features = true

examples/mobile/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,3 @@ label = "Bevy Example"
3535

3636
[lints]
3737
workspace = true
38-
39-
[package.metadata.docs.rs]
40-
rustdoc-args = ["-Zunstable-options"]
41-
all-features = true

tools/build-templated-pages/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,3 @@ hashbrown = { version = "0.14", features = ["serde"] }
1616

1717
[lints]
1818
workspace = true
19-
20-
[package.metadata.docs.rs]
21-
rustdoc-args = ["-Zunstable-options"]
22-
all-features = true

tools/build-wasm-example/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ clap = { version = "4.0", features = ["derive"] }
1212

1313
[lints]
1414
workspace = true
15-
16-
[package.metadata.docs.rs]
17-
rustdoc-args = ["-Zunstable-options"]
18-
all-features = true

tools/ci/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ bitflags = "2.3"
1212

1313
[lints]
1414
workspace = true
15-
16-
[package.metadata.docs.rs]
17-
rustdoc-args = ["-Zunstable-options"]
18-
all-features = true

tools/example-showcase/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@ regex = "1.10.5"
1717

1818
[lints]
1919
workspace = true
20-
21-
[package.metadata.docs.rs]
22-
rustdoc-args = ["-Zunstable-options"]
23-
all-features = true

0 commit comments

Comments
 (0)