opsis-core 0.3.0

Core types and traits for the Opsis world state engine
Documentation
//! `opsis-core` — Core types and traits for the Opsis world state engine.
//!
//! This crate contains **zero IO** — only types, traits, and pure logic.

pub mod clock;
pub mod error;
pub mod event;
pub mod feed;
pub mod schema;
pub mod spatial;
pub mod state;
pub mod subscription;

// Re-export key types for convenience.
pub use clock::{WorldClock, WorldTick};
pub use error::{OpsisError, OpsisResult};
pub use event::{
    EventId, EventSource, OpsisEvent, OpsisEventKind, RawFeedEvent, StateLineDelta, WorldDelta,
};
pub use feed::{ConnectorConfig, FeedConfig, FeedIngestor, FeedSource, FeedsConfig, SchemaKey};
pub use schema::{OpsisEventKindHint, SchemaDefinition, SchemaProducer, builtin_schemas};
pub use spatial::{Bbox, GeoHotspot, GeoPoint};
pub use state::{StateDomain, StateLine, Trend, WorldState};
pub use subscription::{ClientId, Subscription};