1#![cfg_attr(
2 any(docsrs, docsrs_dep),
3 expect(
4 internal_features,
5 reason = "rustdoc_internals is needed for fake_variadic"
6 )
7)]
8#![cfg_attr(any(docsrs, docsrs_dep), feature(doc_auto_cfg, rustdoc_internals))]
9#![forbid(unsafe_code)]
10#![doc(
11 html_logo_url = "https://bevy.org/assets/icon.png",
12 html_favicon_url = "https://bevy.org/assets/icon.png"
13)]
14#![no_std]
15
16#[cfg(feature = "std")]
19extern crate std;
20
21extern crate alloc;
22
23extern crate self as bevy_app;
25
26mod app;
27mod main_schedule;
28mod panic_handler;
29mod plugin;
30mod plugin_group;
31mod propagate;
32mod schedule_runner;
33mod sub_app;
34mod task_pool_plugin;
35#[cfg(all(any(all(unix, not(target_os = "horizon")), windows), feature = "std"))]
36mod terminal_ctrl_c_handler;
37
38#[cfg(feature = "hotpatching")]
39pub mod hotpatch;
40
41pub use app::*;
42pub use main_schedule::*;
43pub use panic_handler::*;
44pub use plugin::*;
45pub use plugin_group::*;
46pub use propagate::*;
47pub use schedule_runner::*;
48pub use sub_app::*;
49pub use task_pool_plugin::*;
50#[cfg(all(any(all(unix, not(target_os = "horizon")), windows), feature = "std"))]
51pub use terminal_ctrl_c_handler::*;
52
53pub mod prelude {
57 #[doc(hidden)]
58 pub use crate::{
59 app::{App, AppExit},
60 main_schedule::{
61 First, FixedFirst, FixedLast, FixedPostUpdate, FixedPreUpdate, FixedUpdate, Last, Main,
62 PostStartup, PostUpdate, PreStartup, PreUpdate, RunFixedMainLoop,
63 RunFixedMainLoopSystems, SpawnScene, Startup, Update,
64 },
65 sub_app::SubApp,
66 Plugin, PluginGroup, TaskPoolOptions, TaskPoolPlugin,
67 };
68}