diff options
| author | Filip Wandzio <contact@philw.dev> | 2026-02-25 16:10:23 +0100 |
|---|---|---|
| committer | Filip Wandzio <contact@philw.dev> | 2026-02-25 16:10:23 +0100 |
| commit | f7b4b643ebc52a4d72d90d9adbdddc9aa0721e4a (patch) | |
| tree | c96432be342b02bc0409e5b78b6b5d54afcc7cd6 /src/config/mod.rs | |
| parent | 2e10b0713f5369f489d2ababd70108cc359c5d2d (diff) | |
| download | dml-f7b4b643ebc52a4d72d90d9adbdddc9aa0721e4a.tar.gz dml-f7b4b643ebc52a4d72d90d9adbdddc9aa0721e4a.zip | |
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
Diffstat (limited to '')
| -rw-r--r-- | src/config/mod.rs | 17 |
1 files changed, 8 insertions, 9 deletions
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 @@ | |||
| 1 | //! Configuration module for the DML launcher. | 1 | //! Configuration module for the DML launcher. |
| 2 | //! | ||
| 3 | //! This module contains submodules and helpers for loading, parsing, and | ||
| 4 | //! managing configuration files and settings. It abstracts the details | ||
| 5 | //! of where configuration is stored and how it is represented in memory. | ||
| 6 | //! | ||
| 7 | //! # Submodules | ||
| 8 | //! - `loader`: Functions to load and parse configuration from disk or | ||
| 9 | //! environment variables. | ||
| 10 | 2 | ||
| 3 | pub mod file; | ||
| 11 | pub mod loader; | 4 | pub mod loader; |
| 12 | pub use loader::Config; | 5 | pub mod runtime; |
| 6 | |||
| 7 | pub use loader::ConfigLoader; | ||
| 8 | pub use runtime::RuntimeConfig; | ||
| 9 | |||
| 10 | /// Backwards-compatibility alias so existing code can keep using `Config` | ||
| 11 | pub type Config = RuntimeConfig; | ||
