2 releases
Uses old Rust 2015
0.1.1 | Aug 8, 2018 |
---|---|
0.1.0 | Aug 8, 2018 |
#99 in #native-bindings
1,155 downloads per month
Used in 9 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
~51KB