[package]
name = "async-minecraft-ping"
version = "0.8.0"
# authors = ["Jay Vana <jaysvana@gmail.com>"] # deprecated
edition = "2021"
description = "An async Rust client for the Minecraft ServerListPing protocol"
readme = "README.md"
repository = "https://github.com/jsvana/async-minecraft-ping/"
license = "MIT OR Apache-2.0"
keywords = ["mc", "minecraft", "serverlistping"]
categories = ["api-bindings", "asynchronous"]

[dependencies]
async-trait = "0.1"
hickory-resolver = { version = "0.24", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"

[dependencies.tokio]
version = "1.15"
features = ["io-util", "net", "time"]

[dev-dependencies]
anyhow = "1.0"
structopt = "0.3"

[dev-dependencies.tokio]
version = "1.15"
features = ["io-util", "macros", "net", "rt-multi-thread"]

[features]
default = []
srv = ["hickory-resolver"]
