hyperion/
lib.rs

1pub use hyperion_derive_ec_no_s::Component;
2
3pub mod commands;
4pub mod component_storage;
5pub mod entity;
6pub mod resources;
7pub mod world;
8
9pub mod prelude {
10    pub use crate::commands::CommandBuffer;
11    pub use crate::component_storage::{Component, ComponentStorage, ComponentStorageTrait};
12    pub use crate::entity::{Entity, EntityAllocator};
13    pub use crate::resources::{ResourceHandle, ResourceRegistry};
14    pub use crate::world::World;
15    // Re-export the derive macro so `#[derive(Component)]` works with the prelude.
16    pub use crate::Component;
17}
18
19#[cfg(test)]
20mod tests;