#domain #entity #repository #aggregate #ddd #abstraction #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

#959 in Development tools


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

~6–18MB
~229K SLoC