quartz_commands
Generates a parser at compile-time for handling commands similar in structure to those of Minecraft.
Using a custom-designed syntax, one can efficiently specify the format of a number of commands
within our module!
macro.
This crate is the standalone command handler for Quartz, a Minecraft server implementation in Rust.
For a real-world example, see Quartz's proxy.
Usage
Use the most recent version of this crate when adding it to your dependencies as shown below.
[]
= "0.1.0"
A simple example is shown below:
use module;
module!
View the documentation here for more examples and an in-depth explanation of the custom command syntax and how the generated parser works.