cfgmatic-source 5.0.1

Configuration sources (file, env, memory) for cfgmatic framework
Documentation
//! 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      |
//! +------------------+
//! ```

mod content;
mod error;
mod format;
mod source;

pub use content::{ParsedContent, RawContent};
pub use error::{Result, SourceError};
pub use format::Format;
pub use source::{Source, SourceKind, SourceMetadata};