Cargo Features
[dependencies]
elytra-ping = { version = "5.1.0", default-features = false, features = ["java_parse", "java_connect", "simple", "bedrock"] }
- default = bedrock, java_connect, java_parse, simple
-
These default features are set whenever
elytra-ping
is added without
somewhere in the dependency tree.default-features = false - java_parse default simple
-
Enables serde and serde_json
Affects
elytra-ping::parse
… - java_connect default simple
-
Enables tokio and trust-dns-resolver
Affects
elytra-ping::mc_string
,elytra-ping::protocol
,protocol::connect
… - simple default = java_connect, java_parse
-
Affects
elytra-ping::PingError
,elytra-ping::ping
,elytra-ping::ping_or_timeout
… - bedrock default
-
Affects
elytra-ping::bedrock
…