[package]
edition = "2018"
name = "pinger"
version = "2.1.2"
authors = ["Tom Forbes <tom@tomforb.es>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small cross-platform library to execute the ping command and parse the output"
readme = "README.md"
license = "MIT"
repository = "https://github.com/orf/gping/tree/master/pinger"
[features]
default = []
fake-ping = ["rand"]
[lib]
name = "pinger"
path = "src/lib.rs"
[[example]]
name = "simple-ping"
path = "examples/simple-ping.rs"
[dependencies.lazy-regex]
version = "3.5.1"
[dependencies.rand]
version = "0.10.0"
optional = true
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.anyhow]
version = "1.0.101"
[dev-dependencies.ntest]
version = "0.9.5"
[dev-dependencies.os_info]
version = "3.14.0"
[target."cfg(windows)".dependencies.winping]
version = "0.10.1"