1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) 2026 Kirky.X
// SPDX-License-Identifier: MIT
//! 配置模块
//!
//! 整合所有配置相关的子模块,提供统一的配置管理接口。
// 子模块声明
pub
pub
// config-watcher 模块尚未实现:BanFileLoader::start_watching 已提供文件级热重载能力,
// 配置级热重载计划在 v0.4.0 实现(见 roadmap)。
// #[cfg(feature = "config-watcher")]
// pub mod watcher;
// config-security 模块尚未实现:当前依赖 AdminApiConfig::validate() 进行基本校验,
// 完整配置安全审计计划在 v0.4.0 实现(见 roadmap)。
// #[cfg(feature = "config-security")]
// pub mod security;
// Re-export all config types from types module
pub use ;
// Backward compatibility alias
pub use Matcher as ConfigMatcher;
// Re-export config loader
pub use ConfigLoader;
// Re-export parse_window_size for crate-internal use
pub use parse_window_size;
// Re-export config watcher (requires config-watcher feature)
// config-watcher 模块尚未实现:BanFileLoader::start_watching 已提供文件级热重载能力,
// 配置级热重载计划在 v0.4.0 实现(见 roadmap)。
// #[cfg(feature = "config-watcher")]
// pub use crate::config::watcher::{ConfigChangeCallback, ConfigWatcher, WatchMode};
// Re-export config security (requires config-security feature)
// config-security 模块尚未实现:当前依赖 AdminApiConfig::validate() 进行基本校验,
// 完整配置安全审计计划在 v0.4.0 实现(见 roadmap)。
// #[cfg(feature = "config-security")]
// pub use crate::config::security::{ConfigSecurityReport, ConfigSecurityValidator};