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

yanked oasis-build

Rust compiler plugin that builds Oasis services

0.2.2 Aug 6, 2019
0.2.1 Jul 31, 2019
0.2.0 Jul 16, 2019

#22 in #rpc-service

Apache-2.0

98KB
2.5K SLoC

oasis-build

Latest Version docs

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


lib.rs:

oasis-build

A Rust compiler plugin that turns a RPC service definition into a program that runs in a blockchain-like environment. Specifically, oasis-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.

Dependencies

~6–14MB
~180K SLoC