[package]
edition = "2021"
name = "ping-async"
version = "1.0.2"
authors = ["hankbao <hankbao84@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unprivileged Async Ping"
homepage = "https://lib.rs/crates/ping-async"
documentation = "https://docs.rs/ping-async"
readme = "README.md"
keywords = [
"ping",
"icmp",
"async",
"tokio",
"future",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/hankbao/ping-async"
[lib]
name = "ping_async"
path = "src/lib.rs"
[[example]]
name = "ping"
path = "examples/ping.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.futures]
version = "0.3"
[dependencies.static_assertions]
version = "1.1.0"
[dev-dependencies.tokio]
version = "1.49.0"
features = [
"macros",
"rt-multi-thread",
"time",
"sync",
]
[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies.rand]
version = "0.9.2"
[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies.socket2]
version = "0.6.2"
[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies.tokio]
version = "1.49.0"
features = [
"macros",
"net",
"rt",
"time",
"sync",
]
[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = [
"Win32_Foundation",
"Win32_Networking_WinSock",
"Win32_NetworkManagement_IpHelper",
"Win32_Security",
"Win32_System_IO",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
]