#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc(
html_logo_url = "https://bevy.org/assets/icon.png",
html_favicon_url = "https://bevy.org/assets/icon.png"
)]
#![no_std]
cfg::std! {
extern crate std;
}
cfg::alloc! {
extern crate alloc;
pub mod collections;
}
pub mod cell;
pub mod cfg;
pub mod hash;
pub mod sync;
pub mod thread;
pub mod time;
pub mod prelude {
crate::cfg::alloc! {
pub use alloc::{
borrow::ToOwned, boxed::Box, format, string::String, string::ToString, vec, vec::Vec,
};
}
}
#[doc(hidden)]
pub mod exports {
crate::cfg::web! {
pub use js_sys;
pub use wasm_bindgen;
pub use wasm_bindgen_futures;
}
}