Introduce the UciSource abstraction as a config-rs Source that reads UCI packages and maps them into the configuration tree. Supports package selection, required/optional behavior, and custom config/save directories. Move rust-uci dependency to cfg(unix) to enable UCI support on all Unix systems for development and testing, while Linux/OpenWrt remains the production-supported platform.
3 lines
37 B
Rust
3 lines
37 B
Rust
#[cfg(feature = "uci")]
|
|
pub mod uci;
|