#aggregate #domain #repository #abstraction #ddd #entity #traits

rstdev-domain

A library that provides base abstractions to working with Domain Driven Design (DDD) in Rust

2 unstable releases

0.2.0 Aug 12, 2024
0.1.0 Mar 9, 2024

#854 in Development tools

Download history 3/week @ 2024-07-23 4/week @ 2024-07-30 63/week @ 2024-08-06 56/week @ 2024-08-13 5/week @ 2024-09-03 17/week @ 2024-09-10 26/week @ 2024-09-17 31/week @ 2024-09-24 40/week @ 2024-10-01 4/week @ 2024-10-08

117 downloads per month
Used in 3 crates (2 directly)

Apache-2.0

9KB
186 lines

rstdev-domain

A rstdev-domain is a library that only provides base trait abstractions and also base error types.

Current available traits only for three main blocks :

  • Entity
  • Aggregate Domain Event
  • Repository

INFO

This module used just to provides base trait behaviors and will not giving you too many constraints, or even it's almost a zero constraints. By only providing trait behaviors, user of this library will still be able to manage their business domains

Installation

[dependencies]
rstdev-domain = {version = "0.2.0"}

Dependencies

~5–17MB
~232K SLoC