diff --git a/Cargo.toml b/Cargo.toml index 61e0acfd1480b..5f162b21a372f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3339,6 +3339,6 @@ lto = "fat" panic = "abort" [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] diff --git a/crates/bevy_a11y/Cargo.toml b/crates/bevy_a11y/Cargo.toml index 3dae29483cb7b..63f3a8c97244d 100644 --- a/crates/bevy_a11y/Cargo.toml +++ b/crates/bevy_a11y/Cargo.toml @@ -20,5 +20,5 @@ accesskit = "0.16" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_animation/Cargo.toml b/crates/bevy_animation/Cargo.toml index 6659311438e1f..a62a97cb0efb0 100644 --- a/crates/bevy_animation/Cargo.toml +++ b/crates/bevy_animation/Cargo.toml @@ -42,5 +42,5 @@ uuid = { version = "1.7", features = ["v4"] } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_app/Cargo.toml b/crates/bevy_app/Cargo.toml index 48affbf80e97f..9bfa8ab13a524 100644 --- a/crates/bevy_app/Cargo.toml +++ b/crates/bevy_app/Cargo.toml @@ -38,5 +38,5 @@ console_error_panic_hook = "0.1.6" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_asset/Cargo.toml b/crates/bevy_asset/Cargo.toml index c297ff1abce2b..ada55f576dab4 100644 --- a/crates/bevy_asset/Cargo.toml +++ b/crates/bevy_asset/Cargo.toml @@ -67,5 +67,5 @@ bevy_log = { path = "../bevy_log", version = "0.15.0-dev" } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_asset/macros/Cargo.toml b/crates/bevy_asset/macros/Cargo.toml index 7f62bfe338ab7..d004f11425cfa 100644 --- a/crates/bevy_asset/macros/Cargo.toml +++ b/crates/bevy_asset/macros/Cargo.toml @@ -22,5 +22,5 @@ quote = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_audio/Cargo.toml b/crates/bevy_audio/Cargo.toml index 810ea688cbb51..ea30d06453714 100644 --- a/crates/bevy_audio/Cargo.toml +++ b/crates/bevy_audio/Cargo.toml @@ -52,5 +52,5 @@ android_shared_stdcxx = ["cpal/oboe-shared-stdcxx"] workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_color/Cargo.toml b/crates/bevy_color/Cargo.toml index 35082ad398b04..e4e8e146268a5 100644 --- a/crates/bevy_color/Cargo.toml +++ b/crates/bevy_color/Cargo.toml @@ -28,5 +28,5 @@ serialize = ["serde"] workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_core/Cargo.toml b/crates/bevy_core/Cargo.toml index f94e33c8b31e3..1f564c57006c2 100644 --- a/crates/bevy_core/Cargo.toml +++ b/crates/bevy_core/Cargo.toml @@ -39,5 +39,5 @@ serde_test = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_core_pipeline/Cargo.toml b/crates/bevy_core_pipeline/Cargo.toml index cac1c9f615c14..ea6a68da21c4b 100644 --- a/crates/bevy_core_pipeline/Cargo.toml +++ b/crates/bevy_core_pipeline/Cargo.toml @@ -45,5 +45,5 @@ thiserror = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_derive/Cargo.toml b/crates/bevy_derive/Cargo.toml index 294cbdceda01c..0152bc27c78f3 100644 --- a/crates/bevy_derive/Cargo.toml +++ b/crates/bevy_derive/Cargo.toml @@ -21,5 +21,5 @@ syn = { version = "2.0", features = ["full"] } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_dev_tools/Cargo.toml b/crates/bevy_dev_tools/Cargo.toml index 5ef374ab827ca..91fd347a1d54e 100644 --- a/crates/bevy_dev_tools/Cargo.toml +++ b/crates/bevy_dev_tools/Cargo.toml @@ -46,5 +46,5 @@ ron = { version = "0.8.0", optional = true } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_diagnostic/Cargo.toml b/crates/bevy_diagnostic/Cargo.toml index 8226774047a92..3724fe3842e9e 100644 --- a/crates/bevy_diagnostic/Cargo.toml +++ b/crates/bevy_diagnostic/Cargo.toml @@ -39,5 +39,5 @@ sysinfo = { version = "0.30.0", optional = true, default-features = false } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_dylib/Cargo.toml b/crates/bevy_dylib/Cargo.toml index d298aa298c8e0..9678a79881c71 100644 --- a/crates/bevy_dylib/Cargo.toml +++ b/crates/bevy_dylib/Cargo.toml @@ -18,5 +18,5 @@ bevy_internal = { path = "../bevy_internal", version = "0.15.0-dev", default-fea workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_dynamic_plugin/Cargo.toml b/crates/bevy_dynamic_plugin/Cargo.toml index 090cf04754808..ebdd0c26b7e75 100644 --- a/crates/bevy_dynamic_plugin/Cargo.toml +++ b/crates/bevy_dynamic_plugin/Cargo.toml @@ -20,5 +20,5 @@ thiserror = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_ecs/Cargo.toml b/crates/bevy_ecs/Cargo.toml index 54eee4ccd41b6..b932ac3b980e1 100644 --- a/crates/bevy_ecs/Cargo.toml +++ b/crates/bevy_ecs/Cargo.toml @@ -53,5 +53,5 @@ path = "examples/change_detection.rs" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_ecs/macros/Cargo.toml b/crates/bevy_ecs/macros/Cargo.toml index c945ee285ca7a..8afa4bb62f639 100644 --- a/crates/bevy_ecs/macros/Cargo.toml +++ b/crates/bevy_ecs/macros/Cargo.toml @@ -19,5 +19,5 @@ proc-macro2 = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_encase_derive/Cargo.toml b/crates/bevy_encase_derive/Cargo.toml index 09ce3e4b3280d..37f176e000368 100644 --- a/crates/bevy_encase_derive/Cargo.toml +++ b/crates/bevy_encase_derive/Cargo.toml @@ -19,5 +19,5 @@ encase_derive_impl = "0.8" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_gilrs/Cargo.toml b/crates/bevy_gilrs/Cargo.toml index b15a00c263109..f458792ccf804 100644 --- a/crates/bevy_gilrs/Cargo.toml +++ b/crates/bevy_gilrs/Cargo.toml @@ -24,5 +24,5 @@ thiserror = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_gizmos/Cargo.toml b/crates/bevy_gizmos/Cargo.toml index df5110a0792f5..ecccfac01b25e 100644 --- a/crates/bevy_gizmos/Cargo.toml +++ b/crates/bevy_gizmos/Cargo.toml @@ -35,5 +35,5 @@ bytemuck = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_gizmos/macros/Cargo.toml b/crates/bevy_gizmos/macros/Cargo.toml index 6ef35688b4edc..dacdb96660986 100644 --- a/crates/bevy_gizmos/macros/Cargo.toml +++ b/crates/bevy_gizmos/macros/Cargo.toml @@ -23,5 +23,5 @@ quote = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_gltf/Cargo.toml b/crates/bevy_gltf/Cargo.toml index 2d523e02502c9..ee52e03db4bd5 100644 --- a/crates/bevy_gltf/Cargo.toml +++ b/crates/bevy_gltf/Cargo.toml @@ -65,5 +65,5 @@ bevy_log = { path = "../bevy_log", version = "0.15.0-dev" } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_hierarchy/Cargo.toml b/crates/bevy_hierarchy/Cargo.toml index 134dbe64d6a4a..607fff471c902 100644 --- a/crates/bevy_hierarchy/Cargo.toml +++ b/crates/bevy_hierarchy/Cargo.toml @@ -31,5 +31,5 @@ smallvec = { version = "1.11", features = ["union", "const_generics"] } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_input/Cargo.toml b/crates/bevy_input/Cargo.toml index 2cfeaf4cc088b..0f34499cdc387 100644 --- a/crates/bevy_input/Cargo.toml +++ b/crates/bevy_input/Cargo.toml @@ -43,5 +43,5 @@ smol_str = "0.2" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_internal/Cargo.toml b/crates/bevy_internal/Cargo.toml index 88dd68974d0db..a07b357f2e2fe 100644 --- a/crates/bevy_internal/Cargo.toml +++ b/crates/bevy_internal/Cargo.toml @@ -244,5 +244,5 @@ bevy_winit = { path = "../bevy_winit", optional = true, version = "0.15.0-dev" } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_log/Cargo.toml b/crates/bevy_log/Cargo.toml index 0dd47920af26a..ca43308f0877e 100644 --- a/crates/bevy_log/Cargo.toml +++ b/crates/bevy_log/Cargo.toml @@ -40,5 +40,5 @@ tracing-wasm = "0.2.1" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_macro_utils/Cargo.toml b/crates/bevy_macro_utils/Cargo.toml index f8d739a07c393..70d4b2f356a02 100644 --- a/crates/bevy_macro_utils/Cargo.toml +++ b/crates/bevy_macro_utils/Cargo.toml @@ -20,5 +20,5 @@ proc-macro2 = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_math/Cargo.toml b/crates/bevy_math/Cargo.toml index 74402ea5e7aa9..ef67687f15053 100644 --- a/crates/bevy_math/Cargo.toml +++ b/crates/bevy_math/Cargo.toml @@ -57,5 +57,5 @@ rand = ["dep:rand", "dep:rand_distr", "glam/rand"] workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_mikktspace/Cargo.toml b/crates/bevy_mikktspace/Cargo.toml index 4ce612c4e493f..2543441139819 100644 --- a/crates/bevy_mikktspace/Cargo.toml +++ b/crates/bevy_mikktspace/Cargo.toml @@ -25,5 +25,5 @@ name = "generate" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_pbr/Cargo.toml b/crates/bevy_pbr/Cargo.toml index 247be052a9677..81b8959e3a382 100644 --- a/crates/bevy_pbr/Cargo.toml +++ b/crates/bevy_pbr/Cargo.toml @@ -64,5 +64,5 @@ static_assertions = "1" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_picking/Cargo.toml b/crates/bevy_picking/Cargo.toml index b7aa3ea34e1ee..a65a7f42832b6 100644 --- a/crates/bevy_picking/Cargo.toml +++ b/crates/bevy_picking/Cargo.toml @@ -23,5 +23,5 @@ uuid = { version = "1.1", features = ["v4"] } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_ptr/Cargo.toml b/crates/bevy_ptr/Cargo.toml index 428da4f931070..e4528ca70c443 100644 --- a/crates/bevy_ptr/Cargo.toml +++ b/crates/bevy_ptr/Cargo.toml @@ -14,5 +14,5 @@ keywords = ["bevy", "no_std"] workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_reflect/Cargo.toml b/crates/bevy_reflect/Cargo.toml index 82f0a78c3f42b..ffd0ebde33180 100644 --- a/crates/bevy_reflect/Cargo.toml +++ b/crates/bevy_reflect/Cargo.toml @@ -57,5 +57,5 @@ required-features = ["documentation"] workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_reflect/derive/Cargo.toml b/crates/bevy_reflect/derive/Cargo.toml index 5bf77a701a90e..5341c84734655 100644 --- a/crates/bevy_reflect/derive/Cargo.toml +++ b/crates/bevy_reflect/derive/Cargo.toml @@ -30,5 +30,5 @@ uuid = { version = "1.1", features = ["v4"] } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_render/Cargo.toml b/crates/bevy_render/Cargo.toml index a4554f0bc2f88..b2b9ad77d7769 100644 --- a/crates/bevy_render/Cargo.toml +++ b/crates/bevy_render/Cargo.toml @@ -130,5 +130,5 @@ send_wrapper = "0.6.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_render/macros/Cargo.toml b/crates/bevy_render/macros/Cargo.toml index b4a047caf444c..7777d0f5d698a 100644 --- a/crates/bevy_render/macros/Cargo.toml +++ b/crates/bevy_render/macros/Cargo.toml @@ -22,5 +22,5 @@ quote = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_scene/Cargo.toml b/crates/bevy_scene/Cargo.toml index b688acfcedca9..a7fc380a27259 100644 --- a/crates/bevy_scene/Cargo.toml +++ b/crates/bevy_scene/Cargo.toml @@ -40,5 +40,5 @@ rmp-serde = "1.1" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_sprite/Cargo.toml b/crates/bevy_sprite/Cargo.toml index 00ece826f2323..63d200a4f5d1e 100644 --- a/crates/bevy_sprite/Cargo.toml +++ b/crates/bevy_sprite/Cargo.toml @@ -41,5 +41,5 @@ radsort = "0.1" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_state/Cargo.toml b/crates/bevy_state/Cargo.toml index f4332984bb2f2..d8dafee87d16d 100644 --- a/crates/bevy_state/Cargo.toml +++ b/crates/bevy_state/Cargo.toml @@ -28,5 +28,5 @@ bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.15.0-dev", optional workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_state/macros/Cargo.toml b/crates/bevy_state/macros/Cargo.toml index d7ed0ae60c2f6..50a4d468b1508 100644 --- a/crates/bevy_state/macros/Cargo.toml +++ b/crates/bevy_state/macros/Cargo.toml @@ -19,5 +19,5 @@ proc-macro2 = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_tasks/Cargo.toml b/crates/bevy_tasks/Cargo.toml index a088d49c4ce93..8d0c7609b2625 100644 --- a/crates/bevy_tasks/Cargo.toml +++ b/crates/bevy_tasks/Cargo.toml @@ -30,5 +30,5 @@ web-time = { version = "1.1" } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_text/Cargo.toml b/crates/bevy_text/Cargo.toml index 2b6f61d9b340e..ee9a4d210cfff 100644 --- a/crates/bevy_text/Cargo.toml +++ b/crates/bevy_text/Cargo.toml @@ -42,5 +42,5 @@ approx = "0.5.1" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_time/Cargo.toml b/crates/bevy_time/Cargo.toml index 2982aa41c5c57..5f25851588043 100644 --- a/crates/bevy_time/Cargo.toml +++ b/crates/bevy_time/Cargo.toml @@ -32,5 +32,5 @@ thiserror = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_transform/Cargo.toml b/crates/bevy_transform/Cargo.toml index e5edff96ea9ed..7612b65443443 100644 --- a/crates/bevy_transform/Cargo.toml +++ b/crates/bevy_transform/Cargo.toml @@ -52,5 +52,5 @@ serialize = ["dep:serde", "bevy_math/serialize"] workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_ui/Cargo.toml b/crates/bevy_ui/Cargo.toml index 69b7e1fb2d1b3..c6251185e7a8a 100644 --- a/crates/bevy_ui/Cargo.toml +++ b/crates/bevy_ui/Cargo.toml @@ -46,5 +46,5 @@ serialize = ["serde", "smallvec/serde"] workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_utils/Cargo.toml b/crates/bevy_utils/Cargo.toml index 7f0d3e3ae87da..7d943ee1aea90 100644 --- a/crates/bevy_utils/Cargo.toml +++ b/crates/bevy_utils/Cargo.toml @@ -29,5 +29,5 @@ getrandom = { version = "0.2.0", features = ["js"] } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_utils/macros/Cargo.toml b/crates/bevy_utils/macros/Cargo.toml index ec7066087b852..bf655ee28b1cb 100644 --- a/crates/bevy_utils/macros/Cargo.toml +++ b/crates/bevy_utils/macros/Cargo.toml @@ -18,5 +18,5 @@ proc-macro2 = "1.0" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_window/Cargo.toml b/crates/bevy_window/Cargo.toml index ba16ee6c06ebd..37f0d9965ff87 100644 --- a/crates/bevy_window/Cargo.toml +++ b/crates/bevy_window/Cargo.toml @@ -32,5 +32,5 @@ smol_str = "0.2" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/crates/bevy_winit/Cargo.toml b/crates/bevy_winit/Cargo.toml index 948f97ab29c6e..25cb054fb6be1 100644 --- a/crates/bevy_winit/Cargo.toml +++ b/crates/bevy_winit/Cargo.toml @@ -57,5 +57,5 @@ crossbeam-channel = "0.5" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/errors/Cargo.toml b/errors/Cargo.toml index 32c7ca92c9ff4..3b41ff508d291 100644 --- a/errors/Cargo.toml +++ b/errors/Cargo.toml @@ -12,5 +12,5 @@ bevy = { path = ".." } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/examples/mobile/Cargo.toml b/examples/mobile/Cargo.toml index 5ad89165154b6..10784a477c8af 100644 --- a/examples/mobile/Cargo.toml +++ b/examples/mobile/Cargo.toml @@ -37,5 +37,5 @@ label = "Bevy Example" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/tools/build-templated-pages/Cargo.toml b/tools/build-templated-pages/Cargo.toml index f6277fb6300d2..22e6e83267e5b 100644 --- a/tools/build-templated-pages/Cargo.toml +++ b/tools/build-templated-pages/Cargo.toml @@ -18,5 +18,5 @@ hashbrown = { version = "0.14", features = ["serde"] } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/tools/build-wasm-example/Cargo.toml b/tools/build-wasm-example/Cargo.toml index c4cd766855598..83e69d7b730f0 100644 --- a/tools/build-wasm-example/Cargo.toml +++ b/tools/build-wasm-example/Cargo.toml @@ -14,5 +14,5 @@ clap = { version = "4.0", features = ["derive"] } workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/tools/ci/Cargo.toml b/tools/ci/Cargo.toml index 4e597e47240a1..99b6993e2d72b 100644 --- a/tools/ci/Cargo.toml +++ b/tools/ci/Cargo.toml @@ -14,5 +14,5 @@ bitflags = "2.3" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true diff --git a/tools/example-showcase/Cargo.toml b/tools/example-showcase/Cargo.toml index 83ac5ef592303..b21213c037a7a 100644 --- a/tools/example-showcase/Cargo.toml +++ b/tools/example-showcase/Cargo.toml @@ -19,5 +19,5 @@ regex = "1.10.5" workspace = true [package.metadata.docs.rs] -rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +rustdoc-args = ["-Zunstable-options"] all-features = true