Crates.io | dfhack-proto |
lib.rs | dfhack-proto |
version | 0.9.0 |
source | src |
created_at | 2022-04-17 22:23:27.810534 |
updated_at | 2024-04-21 19:04:15.044557 |
description | Generated code from the DFHack API |
homepage | |
repository | https://github.com/plule/dfhack-remote |
max_upload_size | |
id | 569606 |
size | 1,892,558 |
This subcomponent of dfhack_remote contains all the generated code for interacting with DFHack remote API.
It contains two main modules:
Internally these two modules are created under the generated
module.
The terminology is based on gRPC
: The stubs
expose the feature from the plugin. They are built from
a channel
implementing the data exchange.
The code is regenerated under the condition that the environment variable DFHACK_REGEN
is set.
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.