uci_rs
An openwrt's UCI (Unified Configuration Interface) parser and serializer.
Usage
Add this to your Cargo.toml:
[]
= "0.1.0"
Example:
use ;
/// file_path: /etc/config/network
///
/// config interface 'lan'
/// option type 'bridge'
/// option ifname 'eth0.1'
/// option proto 'static'
/// option netmask '255.255.255.0'
/// option ip6assign '60'
/// option ipaddr '192.168.1.1'
///
/// config interface 'wan'
/// option ifname 'eth0.2'
/// option proto 'dhcp'
Documentation
License
uci_rs is distributed under the LICENSE-MIT .