This reposity (will) contains 4 things:
Currently their are two tools shiped in this repo, a json generator
and a documentation generator. Both of them require the latest stable
cargo
to be installed.
cargo run --bin generate -- hypercosm.hidl json/hypercosm.json
to generate a json
desciption of the APIcargo run --bin document -- hypercosm.hidl proto-docs
to generate markdown documentation
for the APIAny time you modify a hidl
file or the tools, you should run both of these commands. One day
CI will enforce this.