feat(config): add config-rs settings support

Introduce config-rs and Serde support with a nested Settings model.
Add config and serde dependencies with toml feature for file-based
configuration loading. The Settings struct provides typed configuration
with sensible defaults for network, output, observability, and advanced
settings sections. Environment variable override via SQMA__ prefix is
supported. The legacy Config remains in use; migration follows later.
This commit is contained in:
Nils Andreas Svee committed 2026-08-07 16:04:58 +07:00
1 parent bc86a2cd53
commit c0a50c68f9
4 files changed
+327

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ mod pinger_icmp_ts;
mod platform;
mod ratecontroller;
mod reflector_selector;
mod settings;
mod time;
mod util;