docs.rs failed to build craftping-0.8.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
craftping-0.7.0
craftping

craftping is a Rust library to ping Minecraft Servers.
[!CAUTION] Examples below use
craftping::PROTOCOL_VERSION_NOT_SET. You might want to change this value depending on the server, though most servers allow this placeholder value for pinging.
Usage
[]
= "0.8.0"
You can synchronously ping to the server with craftping::sync::ping:
use TcpStream;
use ping;
sync module requires sync feature, which is enabled by default.
If you want to send pings asynchronously, you can use craftping::tokio::ping or craftping::futures::ping:
craftping::tokio::ping
use TcpStream;
use ping;
async
craftping::futures::ping
use TcpStream;
use ping;
async
Note that tokio module requires async-tokio feature and futures async-futures.
Check here for more information about ping result.
Contributing
Pull requests are welcome. For major issues, please open the issue on this repository first.