Shared vocabulary types and traits for the EventCore event sourcing library.
This crate provides the foundational types that are shared between the main
eventcore crate and adapter implementations like eventcore-postgres.
By extracting these types into a separate crate, we enable feature flag-based
adapter re-exports without circular dependencies.
Overview
This crate contains:
- Core traits:
Event,EventStore,CommandLogic,CommandStreams,StreamResolver - Domain types:
StreamId,StreamVersion,StreamWrites,StreamWriteEntry - Event handling:
EventStreamReader,EventStreamSlice,NewEvents - Command types:
StreamDeclarations,StreamDeclarationsError - Errors:
EventStoreError,CommandError,Operation