# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.68" name = "elytra-ping" version = "5.1.0" authors = ["doinkythederp"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Easily ping and get the status of running Minecraft servers" readme = "README.md" keywords = [ "minecraft", "server-list-ping", "ping", ] categories = [ "network-programming", "parser-implementations", ] license = "ISC" repository = "https://github.com/craftserverbot/elytra-ping" [lib] name = "elytra_ping" path = "src/lib.rs" [[example]] name = "bedrock" path = "examples/bedrock.rs" [[example]] name = "low_level" path = "examples/low_level.rs" [[example]] name = "ping" path = "examples/ping.rs" [dependencies.bytes] version = "1.2" [dependencies.chrono] version = "0.4" optional = true [dependencies.mc-varint] version = "0.1" [dependencies.rand] version = "0.8" optional = true [dependencies.serde] version = "1.0" features = ["serde_derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.snafu] version = "0.8.1" features = ["backtraces-impl-backtrace-crate"] [dependencies.tokio] version = "1.21" features = [ "net", "io-util", "macros", "time", ] optional = true [dependencies.tracing] version = "0.1" [dependencies.trust-dns-resolver] version = "0.23" optional = true [dev-dependencies.ctor] version = "0.2.4" [dev-dependencies.tokio] version = "1.21" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] [features] bedrock = [ "dep:chrono", "dep:rand", ] default = [ "java_parse", "java_connect", "simple", "bedrock", ] java_connect = [ "dep:tokio", "dep:trust-dns-resolver", ] java_parse = [ "dep:serde", "dep:serde_json", ] simple = [ "java_connect", "java_parse", ]