zement 0.1.0

Enterprise-grade, Rust-native CQRS and Event Sourcing framework
Documentation
//! # Zement
//!
//! Enterprise-grade, Rust-native CQRS and Event Sourcing framework.
//!
//! Zement provides a strict Hexagonal Architecture (Ports and Adapters) for building
//! event-sourced systems in Rust. The core has zero infrastructure dependencies — adapters
//! implement the SPIs defined in `zement-core`.
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use zement::core::aggregate::{Aggregate, AggregateError};
//! use zement::core::command::Command;
//! use zement::core::event::Event;
//! use zement::memory::store::InMemoryEventStore;
//! use zement::core::spi::event_store::EventStore;
//! use uuid::Uuid;
//!
//! // Your aggregate, commands, and events implement the core traits.
//! // Use InMemoryEventStore for testing, Postgres for production.
//! ```
//!
//! ## Crate Architecture
//!
//! | Crate | Role |
//! |-------|------|
//! | `zement` | Facade — re-exports everything below |
//! | `zement-core` | Domain traits and SPIs |
//! | `zement-memory` | In-memory EventStore for testing |
//!
//! ## See Also
//!
//! - [`zement_core`] — Core traits: `Aggregate`, `Command`, `Event`, `EventStore`
//! - [`zement_memory`] — `InMemoryEventStore` implementation

pub use zement_core as core;
pub use zement_memory as memory;