1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! Notes about resources:
//! - Resources MUST implement default
//! - Resources MAY use Mutex<Arc<T>> to be Send+Sync
//! - Resources MUST be 'static

use downcast_rs::{impl_downcast, Downcast};
use std::any::TypeId;
use atomic_refcell_try::*;
use std::collections::HashMap;
use std::error::Error;
use std::hash::{BuildHasherDefault, Hasher};

#[cfg(feature = "parallel")]
use rayon::iter::{IntoParallelRefMutIterator, ParallelIterator};
#[cfg(feature = "profiler")]
use thread_profiler::profile_scope;

mod dispatcher;
mod error;
mod resource;
mod system;
mod typeid;
mod world;

pub use self::dispatcher::*;
pub use self::error::*;
pub use self::resource::*;
pub use self::system::*;
use self::typeid::*;
pub use self::world::*;