ddnet/src/masterping/Cargo.toml
heinrich5991 93f0b278f9 Add tool to manually ping the mastersrv
Usage example: `masterping ipv6
https://master1.ddnet.org/ddnet/15/register`.

Returns 0 on success, nonzero on failure. Note that this might report
failure occasionally as it doesn't retry, UDP packets are non-reliable
so they might not arrive even though the mastersrv is up.
2022-12-29 12:50:24 +01:00

19 lines
404 B
TOML

[package]
name = "masterping"
version = "0.0.1"
authors = ["heinrich5991 <heinrich5991@gmail.com>"]
edition = "2018"
publish = false
license = "Zlib"
[workspace]
[dependencies]
anyhow = { version = "1.0.66", features = ["backtrace"] }
clap = { version = "2.34.0", default-features = false, features = [
"suggestions",
"wrap_help",
] }
ureq = "2.5.0"
uuid = { version = "1.2.2", features = ["v4"] }