#![forbid(unsafe_code)]
mod alloc;
mod any;
mod database;
mod ent;
pub mod global;
pub use alloc::{Id, IdAllocator, EPHEMERAL_ID};
pub use any::*;
pub use database::*;
pub use ent::*;
#[cfg(feature = "macros")]
pub use entity_macros::*;
pub mod vendor {
pub mod macros {
pub mod serde {
#[inline]
pub const fn exists() -> bool {
cfg!(feature = "serde-1")
}
#[cfg(feature = "serde-1")]
pub use ::serde::Serialize;
#[cfg(feature = "serde-1")]
pub use ::serde::Deserialize;
#[cfg(not(feature = "serde-1"))]
pub use ::entity_noop_macros::NoopDeriveSerde as Serialize;
#[cfg(not(feature = "serde-1"))]
pub use ::entity_noop_macros::NoopDeriveSerde as Deserialize;
}
pub mod typetag {
#[inline]
pub const fn exists() -> bool {
cfg!(feature = "typetag")
}
#[cfg(feature = "typetag")]
pub use ::typetag::serde;
#[cfg(not(feature = "typetag"))]
pub use ::entity_noop_macros::noop_attr as serde;
}
}
}