async-icmp

Crates.ioasync-icmp
lib.rsasync-icmp
version0.2.1
created_at2024-11-26 04:15:14.230435+00
updated_at2025-01-12 01:01:39.112927+00
descriptionAsync ICMP library
homepage
repositoryhttps://bitbucket.org/marshallpierce/async-icmp
max_upload_size
id1461180
size139,271
Marshall Pierce (marshallpierce)

documentation

https://docs.rs/async-icmp

README

Docs unsafe forbidden

An unprivileged async ICMP library. See the docs for how to use it.

Other related projects

These projects make different tradeoffs and API decisions, and while they didn't meet my needs, they may be of interest.

Development

Since macOS and Linux have fairly different behavior, the tests assert different things on the different platforms (see the platform module).

MacOS

To test Linux behavior on macOS, set up a Docker runtime like Colima.

One time setup for a Colima VM & Docker runtime with Rosetta for Intel on ARM:

colima start --cpu 2 --memory 2 --disk 20 --vm-type=vz --vz-rosetta

At that point, the docker CLI should work:

docker build . -t async-icmp && docker run -t --rm async-icmp
Commit count: 0

cargo fmt