28 lines
1.2 KiB
Rust
28 lines
1.2 KiB
Rust
// Library root — clean architecture module structure
|
|||
|
|
|
||
|
|
// ============================================================================
|
||
|
|
// 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, middleware, state, error
|
||
|
|
// ============================================================================
|
||
|
|
pub mod presentation;
|
||
|
|
|
||
|
|
// ============================================================================
|
||
|
|
// Core Framework & Bootstrap
|
||
|
|
// ============================================================================
|
||
|
|
pub mod bootstrap;
|
||
|
|
pub mod config;
|