From f7b4b643ebc52a4d72d90d9adbdddc9aa0721e4a Mon Sep 17 00:00:00 2001 From: Filip Wandzio Date: Wed, 25 Feb 2026 16:10:23 +0100 Subject: Feat: Refactor core download logic with concurrency and async features Implement basic unit testing Implement automatic java executable switching based on game version Split loader module into smaller modules Implement basic documentation --- src/config/mod.rs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/config/mod.rs') diff --git a/src/config/mod.rs b/src/config/mod.rs index 066154a..a375dda 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -1,12 +1,11 @@ //! Configuration module for the DML launcher. -//! -//! This module contains submodules and helpers for loading, parsing, and -//! managing configuration files and settings. It abstracts the details -//! of where configuration is stored and how it is represented in memory. -//! -//! # Submodules -//! - `loader`: Functions to load and parse configuration from disk or -//! environment variables. +pub mod file; pub mod loader; -pub use loader::Config; +pub mod runtime; + +pub use loader::ConfigLoader; +pub use runtime::RuntimeConfig; + +/// Backwards-compatibility alias so existing code can keep using `Config` +pub type Config = RuntimeConfig; -- cgit v1.2.3