ddd-toolkit-core 0.3.0

Traits and reference implementations for Domain-Driven Design building blocks: entities, value objects, aggregates, repositories, and event dispatch.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The ports a domain depends on: repository, event dispatch, clock, and id
//! generation.

/// A source of the current time.
#[cfg(feature = "chrono")]
pub mod clock;
/// Publishing recorded [`crate::domain::DomainEvent`]s.
pub mod event;
/// Generating [`crate::domain::EntityId`]s.
pub mod id;
/// Loading, saving, and deleting [`crate::domain::AggregateRoot`]s.
pub mod repository;

mod error;

pub use error::*;