diff --git a/Cargo.toml b/Cargo.toml index 4f365f59f2ede..fd5343af55a8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2776,3 +2776,4 @@ panic = "abort" [package.metadata.docs.rs] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] +all-features = true diff --git a/crates/bevy_app/Cargo.toml b/crates/bevy_app/Cargo.toml index e4f7649325776..28b272571edd3 100644 --- a/crates/bevy_app/Cargo.toml +++ b/crates/bevy_app/Cargo.toml @@ -34,3 +34,6 @@ web-sys = { version = "0.3", features = ["Window"] } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_app/src/lib.rs b/crates/bevy_app/src/lib.rs index 721cf1618a724..d87bcbde130a6 100644 --- a/crates/bevy_app/src/lib.rs +++ b/crates/bevy_app/src/lib.rs @@ -1,4 +1,5 @@ //! This crate is about everything concerning the highest-level, application layer of a Bevy app. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod app; mod main_schedule; diff --git a/crates/bevy_asset/Cargo.toml b/crates/bevy_asset/Cargo.toml index ddec0a6b6a59b..62f499857d925 100644 --- a/crates/bevy_asset/Cargo.toml +++ b/crates/bevy_asset/Cargo.toml @@ -59,3 +59,6 @@ bevy_log = { path = "../bevy_log", version = "0.14.0-dev" } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_asset/src/lib.rs b/crates/bevy_asset/src/lib.rs index 803f76c6e3590..c5edd09e05fa3 100644 --- a/crates/bevy_asset/src/lib.rs +++ b/crates/bevy_asset/src/lib.rs @@ -1,5 +1,6 @@ // FIXME(3492): remove once docs are ready #![allow(missing_docs)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub mod io; pub mod meta; diff --git a/crates/bevy_audio/Cargo.toml b/crates/bevy_audio/Cargo.toml index 4b0470caa82e6..2d0e7e32890b6 100644 --- a/crates/bevy_audio/Cargo.toml +++ b/crates/bevy_audio/Cargo.toml @@ -49,3 +49,6 @@ android_shared_stdcxx = ["cpal/oboe-shared-stdcxx"] [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_audio/src/lib.rs b/crates/bevy_audio/src/lib.rs index 19677c1552022..3f42acf3b6e22 100644 --- a/crates/bevy_audio/src/lib.rs +++ b/crates/bevy_audio/src/lib.rs @@ -20,6 +20,7 @@ //! } //! ``` #![forbid(unsafe_code)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod audio; mod audio_output; diff --git a/crates/bevy_core/Cargo.toml b/crates/bevy_core/Cargo.toml index 0c0c804bf7a26..75ccb157ea0ae 100644 --- a/crates/bevy_core/Cargo.toml +++ b/crates/bevy_core/Cargo.toml @@ -35,3 +35,6 @@ crossbeam-channel = "0.5.0" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_core/src/lib.rs b/crates/bevy_core/src/lib.rs index c88ec31be09bf..8ccd3ee4d9408 100644 --- a/crates/bevy_core/src/lib.rs +++ b/crates/bevy_core/src/lib.rs @@ -1,4 +1,5 @@ //! This crate provides core functionality for Bevy Engine. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod name; #[cfg(feature = "serialize")] diff --git a/crates/bevy_core_pipeline/Cargo.toml b/crates/bevy_core_pipeline/Cargo.toml index 1b28c00f649c5..e03b93e9d90ae 100644 --- a/crates/bevy_core_pipeline/Cargo.toml +++ b/crates/bevy_core_pipeline/Cargo.toml @@ -40,3 +40,6 @@ nonmax = "0.5" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_core_pipeline/src/lib.rs b/crates/bevy_core_pipeline/src/lib.rs index af59f5f110267..d6ce9af95dab8 100644 --- a/crates/bevy_core_pipeline/src/lib.rs +++ b/crates/bevy_core_pipeline/src/lib.rs @@ -1,5 +1,6 @@ // FIXME(3492): remove once docs are ready #![allow(missing_docs)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub mod blit; pub mod bloom; diff --git a/crates/bevy_dev_tools/Cargo.toml b/crates/bevy_dev_tools/Cargo.toml index 18f66b4e5a3aa..45c7c561872b6 100644 --- a/crates/bevy_dev_tools/Cargo.toml +++ b/crates/bevy_dev_tools/Cargo.toml @@ -26,3 +26,6 @@ ron = { version = "0.8.0", optional = true } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_dev_tools/src/lib.rs b/crates/bevy_dev_tools/src/lib.rs index b025539ebbb57..b1f2ea1142809 100644 --- a/crates/bevy_dev_tools/src/lib.rs +++ b/crates/bevy_dev_tools/src/lib.rs @@ -1,5 +1,6 @@ //! This crate provides additional utilities for the [Bevy game engine](https://bevyengine.org), //! focused on improving developer experience. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] use bevy_app::prelude::*; #[cfg(feature = "bevy_ci_testing")] diff --git a/crates/bevy_diagnostic/Cargo.toml b/crates/bevy_diagnostic/Cargo.toml index 173b7924032ac..d82a5f2e52c75 100644 --- a/crates/bevy_diagnostic/Cargo.toml +++ b/crates/bevy_diagnostic/Cargo.toml @@ -36,3 +36,6 @@ sysinfo = { version = "0.30.0", optional = true, default-features = false } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_diagnostic/src/lib.rs b/crates/bevy_diagnostic/src/lib.rs index d338ec0656cf5..dc21ec143f1c5 100644 --- a/crates/bevy_diagnostic/src/lib.rs +++ b/crates/bevy_diagnostic/src/lib.rs @@ -1,5 +1,6 @@ // FIXME(3492): remove once docs are ready #![allow(missing_docs)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] //! This crate provides a straightforward solution for integrating diagnostics in the [Bevy game engine](https://bevyengine.org/). //! It allows users to easily add diagnostic functionality to their Bevy applications, enhancing diff --git a/crates/bevy_ecs/Cargo.toml b/crates/bevy_ecs/Cargo.toml index 27edd72384157..11fd506a382ea 100644 --- a/crates/bevy_ecs/Cargo.toml +++ b/crates/bevy_ecs/Cargo.toml @@ -49,3 +49,6 @@ path = "examples/change_detection.rs" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_ecs/src/lib.rs b/crates/bevy_ecs/src/lib.rs index 4f2e00f5f747b..17c5693d59269 100644 --- a/crates/bevy_ecs/src/lib.rs +++ b/crates/bevy_ecs/src/lib.rs @@ -1,6 +1,7 @@ // FIXME(11590): remove this once the lint is fixed #![allow(unsafe_op_in_unsafe_fn)] #![doc = include_str!("../README.md")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] #[cfg(target_pointer_width = "16")] compile_error!("bevy_ecs cannot safely compile for a 16-bit platform."); diff --git a/crates/bevy_gizmos/Cargo.toml b/crates/bevy_gizmos/Cargo.toml index a7ecaddaf0b8b..8b5bf14229eba 100644 --- a/crates/bevy_gizmos/Cargo.toml +++ b/crates/bevy_gizmos/Cargo.toml @@ -32,3 +32,6 @@ bytemuck = "1.0" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_gizmos/src/lib.rs b/crates/bevy_gizmos/src/lib.rs old mode 100644 new mode 100755 index a27b91192a2a3..181408d222108 --- a/crates/bevy_gizmos/src/lib.rs +++ b/crates/bevy_gizmos/src/lib.rs @@ -13,6 +13,7 @@ //! ``` //! //! See the documentation on [Gizmos](crate::gizmos::Gizmos) for more examples. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] /// System set label for the systems handling the rendering of gizmos. #[derive(SystemSet, Clone, Debug, Hash, PartialEq, Eq)] diff --git a/crates/bevy_gltf/Cargo.toml b/crates/bevy_gltf/Cargo.toml index 22c5f49450f76..9cea2c7cb56bb 100644 --- a/crates/bevy_gltf/Cargo.toml +++ b/crates/bevy_gltf/Cargo.toml @@ -58,3 +58,6 @@ smallvec = "1.11" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_gltf/src/lib.rs b/crates/bevy_gltf/src/lib.rs index 9cd59d674a601..de4751a69767d 100644 --- a/crates/bevy_gltf/src/lib.rs +++ b/crates/bevy_gltf/src/lib.rs @@ -2,6 +2,7 @@ //! for loading glTF 2.0 (a standard 3D scene definition format) files in Bevy. //! //! The [glTF 2.0 specification](https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html) defines the format of the glTF files. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] #[cfg(feature = "bevy_animation")] use bevy_animation::AnimationClip; diff --git a/crates/bevy_hierarchy/Cargo.toml b/crates/bevy_hierarchy/Cargo.toml index 342126e3f1976..9262ca8336dcc 100644 --- a/crates/bevy_hierarchy/Cargo.toml +++ b/crates/bevy_hierarchy/Cargo.toml @@ -29,3 +29,6 @@ smallvec = { version = "1.11", features = ["union", "const_generics"] } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_hierarchy/src/lib.rs b/crates/bevy_hierarchy/src/lib.rs index 5e1ad9e9ad4ef..464acada7ddf1 100644 --- a/crates/bevy_hierarchy/src/lib.rs +++ b/crates/bevy_hierarchy/src/lib.rs @@ -44,6 +44,7 @@ //! [plugin]: HierarchyPlugin //! [query extension methods]: HierarchyQueryExt //! [world]: BuildWorldChildren +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod components; pub use components::*; diff --git a/crates/bevy_input/Cargo.toml b/crates/bevy_input/Cargo.toml index 99f5066aa6474..fbad74b9d5f88 100644 --- a/crates/bevy_input/Cargo.toml +++ b/crates/bevy_input/Cargo.toml @@ -30,3 +30,6 @@ smol_str = "0.2" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_input/src/lib.rs b/crates/bevy_input/src/lib.rs index 6513f174c1d29..489e12b2f40bb 100644 --- a/crates/bevy_input/src/lib.rs +++ b/crates/bevy_input/src/lib.rs @@ -3,6 +3,7 @@ //! # Supported input devices //! //! `bevy` currently supports keyboard, mouse, gamepad, and touch inputs. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod axis; mod button_input; diff --git a/crates/bevy_log/Cargo.toml b/crates/bevy_log/Cargo.toml index bdc6e91ab1637..a5229d61ac934 100644 --- a/crates/bevy_log/Cargo.toml +++ b/crates/bevy_log/Cargo.toml @@ -39,3 +39,6 @@ tracing-wasm = "0.2.1" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_log/src/lib.rs b/crates/bevy_log/src/lib.rs index 601b10198f919..eb3cef046a4ff 100644 --- a/crates/bevy_log/src/lib.rs +++ b/crates/bevy_log/src/lib.rs @@ -9,6 +9,7 @@ //! //! For more fine-tuned control over logging behavior, set up the [`LogPlugin`] or //! `DefaultPlugins` during app initialization. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] #[cfg(feature = "trace")] use std::panic; diff --git a/crates/bevy_math/Cargo.toml b/crates/bevy_math/Cargo.toml index 75e8fa69c4a37..777214c1b2f94 100644 --- a/crates/bevy_math/Cargo.toml +++ b/crates/bevy_math/Cargo.toml @@ -33,3 +33,6 @@ debug_glam_assert = ["glam/debug-glam-assert"] [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_math/src/lib.rs b/crates/bevy_math/src/lib.rs index 1cd39230fe5d0..aba4c96753c51 100644 --- a/crates/bevy_math/src/lib.rs +++ b/crates/bevy_math/src/lib.rs @@ -3,6 +3,7 @@ //! The commonly used types are vectors like [`Vec2`] and [`Vec3`], //! matrices like [`Mat2`], [`Mat3`] and [`Mat4`] and orientation representations //! like [`Quat`]. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod affine3; mod aspect_ratio; diff --git a/crates/bevy_pbr/Cargo.toml b/crates/bevy_pbr/Cargo.toml index 28e24aab94c70..b1f45d16ca673 100644 --- a/crates/bevy_pbr/Cargo.toml +++ b/crates/bevy_pbr/Cargo.toml @@ -44,3 +44,6 @@ nonmax = "0.5" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_pbr/src/lib.rs b/crates/bevy_pbr/src/lib.rs index 9258cf9f91ab8..c969db7944c08 100644 --- a/crates/bevy_pbr/src/lib.rs +++ b/crates/bevy_pbr/src/lib.rs @@ -1,5 +1,6 @@ // FIXME(3492): remove once docs are ready #![allow(missing_docs)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub mod wireframe; diff --git a/crates/bevy_reflect/Cargo.toml b/crates/bevy_reflect/Cargo.toml index e1a2902cc7222..5cb69dc88edbb 100644 --- a/crates/bevy_reflect/Cargo.toml +++ b/crates/bevy_reflect/Cargo.toml @@ -57,3 +57,6 @@ required-features = ["documentation"] [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_reflect/src/lib.rs b/crates/bevy_reflect/src/lib.rs index 1d83032484c54..ca9d181b001b7 100644 --- a/crates/bevy_reflect/src/lib.rs +++ b/crates/bevy_reflect/src/lib.rs @@ -467,6 +467,7 @@ //! [orphan rule]: https://doc.rust-lang.org/book/ch10-02-traits.html#implementing-a-trait-on-a-type:~:text=But%20we%20can%E2%80%99t,implementation%20to%20use. //! [`bevy_reflect_derive/documentation`]: bevy_reflect_derive //! [derive `Reflect`]: derive@crate::Reflect +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod array; mod fields; diff --git a/crates/bevy_render/Cargo.toml b/crates/bevy_render/Cargo.toml index c06a1858cbb62..74a5d94356da1 100644 --- a/crates/bevy_render/Cargo.toml +++ b/crates/bevy_render/Cargo.toml @@ -119,3 +119,6 @@ wasm-bindgen = "0.2" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_render/src/lib.rs b/crates/bevy_render/src/lib.rs index 3227bd00137bd..dd0a04b0882f2 100644 --- a/crates/bevy_render/src/lib.rs +++ b/crates/bevy_render/src/lib.rs @@ -1,5 +1,6 @@ // FIXME(3492): remove once docs are ready #![allow(missing_docs)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] #[cfg(target_pointer_width = "16")] compile_error!("bevy_render cannot compile for a 16-bit platform."); diff --git a/crates/bevy_scene/Cargo.toml b/crates/bevy_scene/Cargo.toml index 9cc5c2e7984f3..061ec937513d4 100644 --- a/crates/bevy_scene/Cargo.toml +++ b/crates/bevy_scene/Cargo.toml @@ -38,3 +38,6 @@ rmp-serde = "1.1" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_scene/src/lib.rs b/crates/bevy_scene/src/lib.rs index 19b18a8f6a912..507e7cbcf619c 100644 --- a/crates/bevy_scene/src/lib.rs +++ b/crates/bevy_scene/src/lib.rs @@ -3,6 +3,7 @@ //! Scenes are collections of entities and their associated components that can be //! instantiated or removed from a world to allow composition. Scenes can be serialized/deserialized, //! for example to save part of the world state to a file. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod bundle; mod dynamic_scene; diff --git a/crates/bevy_tasks/Cargo.toml b/crates/bevy_tasks/Cargo.toml index 3fb0e3c297acd..ee73b120ac94b 100644 --- a/crates/bevy_tasks/Cargo.toml +++ b/crates/bevy_tasks/Cargo.toml @@ -27,3 +27,6 @@ web-time = { version = "0.2" } [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_tasks/src/lib.rs b/crates/bevy_tasks/src/lib.rs old mode 100644 new mode 100755 index 60b162dbed596..5be6574a9fecc --- a/crates/bevy_tasks/src/lib.rs +++ b/crates/bevy_tasks/src/lib.rs @@ -1,4 +1,5 @@ #![doc = include_str!("../README.md")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod slice; pub use slice::{ParallelSlice, ParallelSliceMut}; diff --git a/crates/bevy_text/Cargo.toml b/crates/bevy_text/Cargo.toml index c4b8f23a232a5..6fc3deb8a9778 100644 --- a/crates/bevy_text/Cargo.toml +++ b/crates/bevy_text/Cargo.toml @@ -39,3 +39,6 @@ approx = "0.5.1" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_text/src/lib.rs b/crates/bevy_text/src/lib.rs index e0824cf9e3671..6df96c14a2d46 100644 --- a/crates/bevy_text/src/lib.rs +++ b/crates/bevy_text/src/lib.rs @@ -1,5 +1,6 @@ // FIXME(3492): remove once docs are ready #![allow(missing_docs)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] mod error; mod font; diff --git a/crates/bevy_time/Cargo.toml b/crates/bevy_time/Cargo.toml index c031f6cdea50e..5a7ccb9a577f1 100644 --- a/crates/bevy_time/Cargo.toml +++ b/crates/bevy_time/Cargo.toml @@ -30,3 +30,6 @@ thiserror = "1.0" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_time/src/lib.rs b/crates/bevy_time/src/lib.rs old mode 100644 new mode 100755 index 39d7cf4e4e6b7..23ec1669632e9 --- a/crates/bevy_time/src/lib.rs +++ b/crates/bevy_time/src/lib.rs @@ -1,4 +1,5 @@ #![doc = include_str!("../README.md")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] /// Common run conditions pub mod common_conditions; diff --git a/crates/bevy_transform/Cargo.toml b/crates/bevy_transform/Cargo.toml index c899e8842f95b..5662117c684c7 100644 --- a/crates/bevy_transform/Cargo.toml +++ b/crates/bevy_transform/Cargo.toml @@ -34,3 +34,6 @@ serialize = ["dep:serde", "bevy_math/serialize"] [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_transform/src/lib.rs b/crates/bevy_transform/src/lib.rs old mode 100644 new mode 100755 index c44c120b0146a..f38ca1726b1b6 --- a/crates/bevy_transform/src/lib.rs +++ b/crates/bevy_transform/src/lib.rs @@ -1,4 +1,5 @@ #![doc = include_str!("../README.md")] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub mod commands; /// The basic components of the transform crate diff --git a/crates/bevy_ui/Cargo.toml b/crates/bevy_ui/Cargo.toml index b83a227e99d8d..92547a2fe3828 100644 --- a/crates/bevy_ui/Cargo.toml +++ b/crates/bevy_ui/Cargo.toml @@ -41,5 +41,8 @@ smallvec = "1.11" [features] serialize = ["serde", "smallvec/serde"] +[package.metadata.docs.rs] +all-features = true + [lints] workspace = true diff --git a/crates/bevy_ui/src/lib.rs b/crates/bevy_ui/src/lib.rs index 17daf47fb1c74..486919a8b2d5d 100644 --- a/crates/bevy_ui/src/lib.rs +++ b/crates/bevy_ui/src/lib.rs @@ -5,6 +5,7 @@ //! # Basic usage //! Spawn UI elements with [`node_bundles::ButtonBundle`], [`node_bundles::ImageBundle`], [`node_bundles::TextBundle`] and [`node_bundles::NodeBundle`] //! This UI is laid out with the Flexbox and CSS Grid layout models (see ) +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub mod measurement; pub mod node_bundles; diff --git a/crates/bevy_window/Cargo.toml b/crates/bevy_window/Cargo.toml index c810dcdff58a9..d455a2ebe834b 100644 --- a/crates/bevy_window/Cargo.toml +++ b/crates/bevy_window/Cargo.toml @@ -32,3 +32,6 @@ smol_str = "0.2" [lints] workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bevy_window/src/lib.rs b/crates/bevy_window/src/lib.rs index 227f7b598cf55..ff722ef9df243 100644 --- a/crates/bevy_window/src/lib.rs +++ b/crates/bevy_window/src/lib.rs @@ -4,6 +4,7 @@ //! used by windowing implementors such as `bevy_winit`. //! The [`WindowPlugin`] sets up some global window-related parameters and //! is part of the [`DefaultPlugins`](https://docs.rs/bevy/latest/bevy/struct.DefaultPlugins.html). +#![cfg_attr(docsrs, feature(doc_auto_cfg))] use bevy_a11y::Focus; diff --git a/crates/bevy_winit/Cargo.toml b/crates/bevy_winit/Cargo.toml index 652ccaf3e919f..063085b6a01b8 100644 --- a/crates/bevy_winit/Cargo.toml +++ b/crates/bevy_winit/Cargo.toml @@ -51,7 +51,7 @@ web-sys = "0.3" crossbeam-channel = "0.5" [package.metadata.docs.rs] -features = ["x11"] +all-features = true [lints] workspace = true diff --git a/crates/bevy_winit/src/lib.rs b/crates/bevy_winit/src/lib.rs index b0ea7533fba15..1e638e1a5eff7 100644 --- a/crates/bevy_winit/src/lib.rs +++ b/crates/bevy_winit/src/lib.rs @@ -4,6 +4,7 @@ //! [`DefaultPlugins`](https://docs.rs/bevy/latest/bevy/struct.DefaultPlugins.html). //! The app's [runner](bevy_app::App::runner) is set by `WinitPlugin` and handles the `winit` [`EventLoop`]. //! See `winit_runner` for details. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub mod accessibility; mod converters; diff --git a/src/lib.rs b/src/lib.rs old mode 100644 new mode 100755 index 1c3354419251e..c8a6964c57dd9 --- a/src/lib.rs +++ b/src/lib.rs @@ -44,6 +44,7 @@ html_logo_url = "https://bevyengine.org/assets/icon.png", html_favicon_url = "https://bevyengine.org/assets/icon.png" )] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub use bevy_internal::*;