2026-07-21 12:54:23 +07:00
|
|
|
// Library root — clean architecture module structure
|
2026-07-09 22:07:03 +07:00
|
|
|
|
|
|
|
|
// ============================================================================
|
2026-07-21 12:54:23 +07:00
|
|
|
// Domain Layer — pure business logic, no framework dependencies
|
|
|
|
|
// ============================================================================
|
|
|
|
|
pub mod domain;
|
|
|
|
|
|
|
|
|
|
// ============================================================================
|
|
|
|
|
// Application Layer — use cases / business orchestration
|
|
|
|
|
// ============================================================================
|
|
|
|
|
pub mod application;
|
|
|
|
|
|
|
|
|
|
// ============================================================================
|
|
|
|
|
// Infrastructure Layer — implements domain ports
|
|
|
|
|
// ============================================================================
|
|
|
|
|
pub mod infrastructure;
|
|
|
|
|
|
|
|
|
|
// ============================================================================
|
|
|
|
|
// Presentation Layer — Axum handlers, DTOs, state, middleware
|
|
|
|
|
// ============================================================================
|
|
|
|
|
pub mod presentation;
|
|
|
|
|
|
|
|
|
|
// ============================================================================
|
|
|
|
|
// Core Framework & Infrastructure
|
2026-07-09 22:07:03 +07:00
|
|
|
// ============================================================================
|
|
|
|
|
pub mod bootstrap;
|
2026-07-21 12:54:23 +07:00
|
|
|
pub mod config;
|
|
|
|
|
pub mod events;
|
|
|
|
|
pub mod observability;
|