dfhack-proto-0.1.1 has been yanked.
dfhack_proto
DFHack proto contains all the generated code for interacting with DFHack remote API.
It contains two main modules:
- [messages] exposes the protobuf messages. This is the standard generated protobuf.
- [plugins] exposes the plugins and their RPC. DFHack is not using gRPC and this is a custom implementation
Internally these two modules are created under the generated module.
All the plugins are built from a struct implementing [ProtocolTrait]. This trait should implement the actual data exchange.
This crates generates all its code directly in a source subfolder. It would likely be cleaner to use the $OUT_DIR, or macro to do this job.