#![no_std]
extern crate alloc;
extern crate core;
#[cfg(test)]
extern crate std;
use bevy_ecs::component::Component;
mod archetypes;
mod checksum;
#[cfg(feature = "replication")]
pub mod late_join;
pub mod mode;
mod plugin;
pub mod prelude {
pub use crate::checksum::ChecksumMessage;
#[cfg(feature = "client")]
pub use crate::checksum::ChecksumSendPlugin;
#[cfg(feature = "server")]
pub use crate::checksum::{ChecksumHistory, ChecksumReceivePlugin};
#[cfg(feature = "replication")]
pub use crate::late_join::{
AppCatchUpExt, CatchUpRegistry, CatchUpRequest, CatchUpSnapshotReady, CatchUpSystems,
HasCaughtUp, LateJoinCatchUpPlugin,
};
#[cfg(all(feature = "client", feature = "replication"))]
pub use crate::late_join::{CatchUpClientTimeout, CatchUpManager};
pub use crate::mode::CatchUpMode;
pub use crate::plugin::DeterministicReplicationPlugin;
pub use lightyear_prediction::rollback::CatchUpGated;
}
#[derive(Component, Default)]
pub struct Deterministic;