pinger
A small cross-platform library to execute the ping command and parse the output.
This crate is primarily built for use with gping, but it can also be used as a
standalone library.
This allows you to reliably ping hosts without having to worry about process permissions, in a cross-platform manner on Windows, Linux and macOS.
Usage
A full example of using the library can be found in the examples/ directory, but the
interface is quite simple:
use ping;
Adding pinger to your project.
cargo add pinger