# idl-gen [![Latest Version](https://img.shields.io/crates/v/idl-gen.svg)](https://crates.io/crates/idl-gen) [![docs](https://docs.rs/idl-gen/badge.svg)](https://docs.rs/idl-gen) A compiler plugin that generates JSON descriptions of an RPC interface from Rust types. You can see an example of using `idl-gen` in the [`idl_gen` test](https://github.com/oasislabs/mantle/tree/master/tests/idl_gen).