#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

#35 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–13MB
~174K SLoC