2 releases
Uses old Rust 2015
| 0.1.1 | Aug 8, 2018 |
|---|---|
| 0.1.0 | Aug 8, 2018 |
#874 in Unix APIs
1,562 downloads per month
Used in 14 crates
(via veilid-tools)
40KB
1K
SLoC
ifstructs
A Rust library with native bindings to unix if* structures
Usage
First, add the following to your Cargo.toml:
[dependencies]
ifstructs = "0.1.1"
Next, add this to your crate:
extern crate ifstructs;
use ifstructs::ifreq;
fn main() {
let mut req = ifreq::from_name("eth0").unwrap();
...
}
Dependencies
~52KB