-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
31 lines (28 loc) · 1.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "mc-server-pinger"
version = "0.1.0-alpha.6"
authors = ["Petr Portnov <me@progrm-jarvis.ru>"]
edition = "2018"
# Basic properties
description = "Command line utility for pinging Minecraft servers via Server List Ping protocol"
license = "Apache-2.0"
repository = "https://github.com/JarvisCraft/mc-server-pinger"
# crates.io search metadata
keywords = ["minecraft", "ping"]
categories = ["command-line-utilities", "network-programming"]
[[bin]]
name = "mc-server-pinger"
[dependencies]
craftping = { version = "0.3.0", features = ["async-tokio"] }
tokio = { version = "1.18.5", features = ["rt", "net", "time", "macros"] }
clap = "3.0.0-beta.5"
peg = "0.7.0"
[profile.release]
# This allows a better optimized binary at cost of more complicated compilation
# which is fine and worth it
lto = true
# This minimizes build parallelization bu allows better optimizations
codegen-units = 1
# This is a single-purpose binary which has no space for panic
# thus even if it (somehow) makes it way to production is not as critical
panic = "abort"