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
- Application layer
- domain
- Domain layer
- infrastructure
- Infrastructure layer
Type Aliases§
- BoxError
- Alias for a type-erased error type.
- Result
Result
type with a pre-defined BoxError error variant.
Derive Macros§
- Aggregate
Root - Proc macro for deriving the
AggregateRoot
trait. - Entity
- Proc macro for deriving the
Entity
trait. - Value
Object - Proc macro for deriving the
ValueObject
trait.