A Rust library with native bindings to unix if*
structures
First, add the following to your Cargo.toml
:
toml
[dependencies]
ifstructs = "0.0.1"
Next, add this to your crate:
```rust extern crate ifstructs;
use ifstructs::ifreq;
fn main() { let mut req = ifreq::from_name("eth0").unwrap();
... }
```