API Documentation
The complete EventCore API documentation is generated from the source code using rustdoc.
The API documentation includes:
- Complete type and trait references - All public types, traits, and functions
- Usage examples - Code examples demonstrating common patterns
- Module documentation - Overview and guidance for each module
- Cross-references - Links between related types and concepts
Key Modules
Core Library
eventcore
- Core library with command execution, event stores, and projectionseventcore::prelude
- Common imports for EventCore applications
Event Store Adapters
eventcore_postgres
- PostgreSQL event store adaptereventcore_memory
- In-memory event store for testing
Derive Macros
eventcore_macros
- Derive macros for commands
Quick Reference
For quick access to commonly used items:
Command
- Core command traitCommandExecutor
- Executes commandsEventStore
- Event persistence traitProjection
- Read model projectionsStreamId
- Stream identifierEventId
- Event identifier