interface-rs
A Rust library for parsing and manipulating an interfaces(5)
file.
This library provides structs and functions to load, parse, modify, and save
network interface configurations in the Debian-style interfaces(5)
file
format. This file is typically found at /etc/network/interfaces
on Debian-based
systems but may be located elsewhere depending on your system configuration.
Features
- Load and parse existing configurations from an
interfaces(5)
file. - Modify interface configurations programmatically.
- Save changes back to the file system.
Example
use NetworkInterfaces;
use ;
License
This project is licensed under the MIT License.