Nets is a Rust language crate for accessing the packet sniffing capabilities of pcap . It's use rust-pcap/pcap.
git clone https://github.com/asmcos/nets cd nets Cargo build