1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![feature(async_await)]

//these are used in enough places that
//it makes no sense to put them behind features
pub mod errors;

//each of these can be enabled/disabled as needed
#[cfg(feature = "data")]
pub mod data;
#[cfg(feature = "audio")]
pub mod audio;
#[cfg(feature = "canvas")]
pub mod canvas;
#[cfg(feature = "input")]
pub mod input;
#[cfg(feature = "loaders")]
pub mod loaders;
#[cfg(feature = "tick")]
pub mod tick;
#[cfg(feature = "webgl")]
pub mod webgl;
#[cfg(feature = "window")]
pub mod window;