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://bevyengine.org/assets/icon.png",
12 html_favicon_url = "https://bevyengine.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 schedule_runner;
32mod sub_app;
33mod task_pool_plugin;
34#[cfg(all(any(unix, windows), feature = "std"))]
35mod terminal_ctrl_c_handler;
36
37pub use app::*;
38pub use main_schedule::*;
39pub use panic_handler::*;
40pub use plugin::*;
41pub use plugin_group::*;
42pub use schedule_runner::*;
43pub use sub_app::*;
44pub use task_pool_plugin::*;
45#[cfg(all(any(unix, windows), feature = "std"))]
46pub use terminal_ctrl_c_handler::*;
47
48pub mod prelude {
52 #[doc(hidden)]
53 pub use crate::{
54 app::{App, AppExit},
55 main_schedule::{
56 First, FixedFirst, FixedLast, FixedPostUpdate, FixedPreUpdate, FixedUpdate, Last, Main,
57 PostStartup, PostUpdate, PreStartup, PreUpdate, RunFixedMainLoop,
58 RunFixedMainLoopSystem, SpawnScene, Startup, Update,
59 },
60 sub_app::SubApp,
61 NonSendMarker, Plugin, PluginGroup, TaskPoolOptions, TaskPoolPlugin,
62 };
63}