made-core 0.1.3

Domain core of MADE: entities, value objects, events, ports. No IO.
Documentation
//! Domain core of MADE.
//!
//! Pure domain: value objects, entities, events, and ports (traits).
//! No IO, no transport, no framework glue. Use-case agnostic and
//! provider-agnostic.
//!
//! DDD discipline applies here:
//!
//! - No primitive obsession: domain boundaries exchange value objects,
//!   never raw `String`, `u32`, `f64`, etc.
//! - Invariants are enforced at construction time (`TryFrom` / `new`)
//!   and cannot be violated by mutation.
//! - Aggregates protect their own state transitions; callers never
//!   mutate internal fields directly.
//! - Domain errors are typed; I/O errors do not exist here.

#![deny(missing_debug_implementations)]

#[cfg(feature = "conformance")]
pub mod conformance;
pub mod entities;
pub mod error;
pub mod events;
pub mod ports;
pub mod value_objects;

pub use error::DomainError;