Expand description
ddd-rs
Domain-Driven Design (DDD) building blocks, for Rust applications.
Most of the definitions on these docs are taken from Eric Evan’s Domain-Driven Design: Tackling Complexity in the Heart of Software.
Application layer
- Repository
- Service:
Domain layer
Infrastructure layer
- In-memory:
Modules
- Application layer
- Domain layer
- Infrastructure layer
Type Definitions
- Alias for a type-erased error type.
Result
type with a pre-defined BoxError error variant.
Derive Macros
- Proc macro for deriving the
AggregateRoot
trait. - Proc macro for deriving the
Entity
trait. - Proc macro for deriving the
ValueObject
trait.