This crate offers versioned CRUD operations for entities.
Any entity is modified using events. Every event is either of type create, update or delete.
You can use the
Repository struct to use a nice abstraction for the underlying event logs,
or use the
Projector struct to access the lower-level operations of event projection.
Event struct usually is part of a list of events called an “event log”.
Each event represents an atomic change in an entity (including its creation or destruction).
Every event log only contains one entity type:
Two entity types should have two separate event logs.
Projects events from an event log
A segment is a part of an event log.
The CRUD operation type
The timestamp type used in this library