Crate ddd_rs

Source
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

§Domain layer

§Infrastructure layer

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§

AggregateRoot
Proc macro for deriving the AggregateRoot trait.
Entity
Proc macro for deriving the Entity trait.
ValueObject
Proc macro for deriving the ValueObject trait.