armature-eventsourcing

Crates.ioarmature-eventsourcing
lib.rsarmature-eventsourcing
version0.1.1
created_at2025-12-26 19:28:55.841603+00
updated_at2025-12-30 22:11:14.172812+00
descriptionEvent sourcing implementation for Armature
homepagehttps://pegasusheavy.github.io/armature
repositoryhttps://github.com/pegasusheavy/armature
max_upload_size
id2006114
size47,418
Joseph R. Quinn (quinnjr)

documentation

README

armature-eventsourcing

Event sourcing support for the Armature framework.

Features

  • Event Store - Persistent event storage
  • Aggregates - Domain-driven aggregates
  • Projections - Read model generation
  • Snapshots - Performance optimization

Installation

[dependencies]
armature-eventsourcing = "0.1"

Quick Start

use armature_eventsourcing::{Aggregate, EventStore};

let store = EventStore::postgres(pool).await?;

// Append events
store.append("order-123", vec![OrderCreated, ItemAdded]).await?;

// Load and replay
let events = store.load("order-123").await?;

License

MIT OR Apache-2.0

Commit count: 0

cargo fmt