1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Domain layer - core business entities and rules.
//!
//! This layer contains the fundamental types and traits that define
//! the core domain of configuration sources:
//!
//! - [`Source`] - The fundamental trait for any configuration source
//! - [`SourceKind`] - Enumeration of source types (file, env, memory, custom)
//! - [`SourceMetadata`] - Metadata about a source
//! - [`Format`] - Supported configuration file formats
//! - [`RawContent`] / [`ParsedContent`] - Content types
//! - [`SourceError`] / [`Result`] - Error types
//!
//! # Architecture
//!
//! ```text
//! +------------------+
//! | Domain Layer |
//! +------------------+
//! | Source |
//! | SourceKind |
//! | SourceMetadata |
//! | Format |
//! | RawContent |
//! | ParsedContent |
//! | SourceError |
//! +------------------+
//! ```
pub use ;
pub use ;
pub use Format;
pub use ;