#plugin #interface #compiler-plugin #idl #rpc-service #rpc #generate

nightly bin+lib mantle-build

Rust compiler plugin that builds Mantle services

3 releases

0.2.2 Jul 6, 2019
0.2.1 Jun 27, 2019
0.2.0 Jun 25, 2019

#22 in #rpc-service

22 downloads per month


2.5K SLoC


Latest Version docs

mantle-build is a compiler plugin that adds boilerplate code for calling and deploying mantle services and generates a JSON (or protobuf) description of the RPC interface. You can see an example of using mantle-build in the mantle_build test.



A Rust compiler plugin that turns a RPC service definition into a program that runs in a blockchain-like environment. Specifically, mantle-build generates boilerplate RPC code for and generates an interface definition for the service.

This library is used by registering BuildPlugin as a rustc callback.


~178K SLoC