| Crates.io | armature-eventsourcing |
| lib.rs | armature-eventsourcing |
| version | 0.1.1 |
| created_at | 2025-12-26 19:28:55.841603+00 |
| updated_at | 2025-12-30 22:11:14.172812+00 |
| description | Event sourcing implementation for Armature |
| homepage | https://pegasusheavy.github.io/armature |
| repository | https://github.com/pegasusheavy/armature |
| max_upload_size | |
| id | 2006114 |
| size | 47,418 |
Event sourcing support for the Armature framework.
[dependencies]
armature-eventsourcing = "0.1"
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?;
MIT OR Apache-2.0