ifstructs
=========
A Rust library with native bindings to unix `if*` structures
[](https://travis-ci.org/glebpom/rust-ifstructs)
[](https://crates.io/crates/ifstructs)
[](https://docs.rs/ifstructs)

## Usage
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();
...
}
```