Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
liboping bindings for Rust: simple ICMP pings
This crate is a simple Rust binding for liboping, a library that implements basic ICMP ping functionality. These bindings allow a Rust program to send ping packets (possibly to multiple hosts in parallel) and enumerate the responses.
This crate also includes a very simple program
rustping that uses the
bindings to implement a barebones command-line ping utility.
This crate requires
liboping to be installed on the system. If you do not
liboping, you can install it either from the above link, or using your
system package manager. The crate looks for the appropriate linker flags using
pkg-config, so for this crate to build correctly,
pkg-config --libs liboping must return a meaningful result.
This crate was written by Chris Fallin <firstname.lastname@example.org> and is released under the MIT license.
NOTE: sending ping packets requires either running as
root or setting a
capability on your binary, at least on Linux. This is a restriction enforced by
the system, not by this crate. To set the capability, run the following as
$ setcap cap_net_raw+ep $MY_BINARY # allow binary to send ping packets