[package]
edition = "2024"
name = "prettyping-rs"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of prettyping with a pure Rust ping engine"
readme = "README.md"
keywords = [
"ping",
"network",
"latency",
"terminal",
"cli",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "MIT"
repository = "https://github.com/kim0/prettyping-rs"
[lib]
name = "prettyping_rs"
path = "src/lib.rs"
[[bin]]
name = "prettyping"
path = "src/main.rs"
[[test]]
name = "app_state_bounded"
path = "tests/app_state_bounded.rs"
[[test]]
name = "cli_compat"
path = "tests/cli_compat.rs"
[[test]]
name = "render_snapshots"
path = "tests/render_snapshots.rs"
[[test]]
name = "runtime_semantics"
path = "tests/runtime_semantics.rs"
[[test]]
name = "unix_live_smoke"
path = "tests/unix_live_smoke.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.clap]
version = "4.5.60"
features = [
"derive",
"env",
]
[dependencies.terminal_size]
version = "0.4.3"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.49.0"
features = [
"macros",
"rt-multi-thread",
"signal",
"time",
"net",
]
[dev-dependencies.assert_matches]
version = "1.5.0"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.signal-hook]
version = "0.4.3"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.surge-ping]
version = "0.8.4"
[target.'cfg(target_os = "windows")'.dependencies.ctrlc]
version = "3.5.2"
[target.'cfg(target_os = "windows")'.dependencies.ping-async]
version = "1.0.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.59.0"
features = [
"Win32_Foundation",
"Win32_System_Console",
]