mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
93f0b278f9
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.
19 lines
404 B
TOML
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"] }
|