You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(config): decompose ServerConfig into focused single-concern files
ServerConfig and its supporting types (LogFormat, PortsConfig, path
helpers, and the new ServerSection wrapper) were all defined inline in
mod.rs, which had grown past 400 lines of mixed concerns. Each type now
lives in its own file: config.rs, log_format.rs, paths.rs, ports.rs,
and section.rs. mod.rs is reduced to pub-mod declarations and re-exports.
All call sites that accessed flat config fields (config.host,
config.data_dir, config.ports.*, etc.) are updated to the new
config.server.* path introduced by ServerSection. Bootstrap modules,
main.rs, env.rs, and auth security tests all updated accordingly.
0 commit comments