[package]
edition = "2024"
name = "rust-mc-status"
version = "3.0.0"
authors = ["NameOfShadow 0nameofshadow0@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance asynchronous Rust library for querying Minecraft server status (Java & Bedrock)"
documentation = "https://docs.rs/rust-mc-status"
readme = "README.md"
keywords = [
"minecraft",
"server",
"status",
"game",
"asynchronous",
]
categories = [
"network-programming",
"api-bindings",
"asynchronous",
"games",
]
license = "MIT"
repository = "https://github.com/NameOfShadow/rust-mc-status"
[features]
default = []
proxy = ["dep:tokio-socks"]
tower = [
"dep:tower",
"dep:tower-http",
"dep:pin-project-lite",
]
[lib]
name = "rust_mc_status"
path = "src/lib.rs"
[[example]]
name = "advanced_usage"
path = "examples/advanced_usage.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "cache_management"
path = "examples/cache_management.rs"
[[example]]
name = "proxy_usage"
path = "examples/proxy_usage.rs"
[[example]]
name = "tower_usage"
path = "examples/tower_usage.rs"
[[test]]
name = "address_parse"
path = "tests/address_parse.rs"
[[test]]
name = "bedrock_parse"
path = "tests/bedrock_parse.rs"
[[test]]
name = "error_hierarchy"
path = "tests/error_hierarchy.rs"
[[test]]
name = "http_proxy"
path = "tests/http_proxy.rs"
[[test]]
name = "java_from_json"
path = "tests/java_from_json.rs"
[[test]]
name = "proxy_config"
path = "tests/proxy_config.rs"
[[test]]
name = "response_cache"
path = "tests/response_cache.rs"
[[test]]
name = "strip_formatting"
path = "tests/strip_formatting.rs"
[dependencies.base64]
version = "0.22.1"
[dependencies.hickory-resolver]
version = "0.26"
features = ["tokio"]
[dependencies.lru]
version = "0.18.0"
[dependencies.pin-project-lite]
version = "0.2"
optional = true
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.smallvec]
version = "1"
features = ["serde"]
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52.1"
features = [
"net",
"io-util",
"time",
"sync",
"rt",
]
[dependencies.tokio-socks]
version = "0.5.2"
optional = true
[dependencies.tower]
version = "0.5"
features = ["full"]
optional = true
[dependencies.tower-http]
version = "0.7"
features = ["full"]
optional = true
[dev-dependencies.tokio]
version = "1.52.1"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.3"