mod core;
mod model;
mod ordering;
mod store;

pub use core::{
    CacheAvailability, CacheMemoryStats, RtrCache, RtrCacheBuilder, SerialResult, SessionIds,
};
pub use model::{Delta, DualTime, Snapshot};
pub use ordering::{
    OrderingViolation, validate_payload_update_refs_for_rtr, validate_payload_updates_for_rtr,
    validate_payloads_for_rtr,
};

use std::sync::Arc;

use arc_swap::ArcSwap;

pub type SharedRtrCache = Arc<ArcSwap<RtrCache>>;
