// NAC CSNP L0层 - 宪政结构化网络协议 基础层实现 // Constitutional Structured Network Protocol - Layer 0 Implementation pub mod gids; // 全域身份目录服务 pub mod aa_pe; // 资产感知传播引擎 pub use gids::Gids; pub use aa_pe::AaPe; /// CSNP L0层统一接口 pub struct CsnpL0 { pub gids: Gids, pub aa_pe: AaPe, } impl CsnpL0 { pub fn new() -> Self { Self { gids: Gids::new(), aa_pe: AaPe::new(), } } } impl Default for CsnpL0 { fn default() -> Self { Self::new() } } #[cfg(test)] mod tests { use super::*; #[test] fn test_csnp_l0_creation() { let csnp = CsnpL0::new(); // 基础测试:确保模块可以创建 assert!(true); } }