ppx_deriving_rpc

Ppx deriver for ocaml-rpc, a library to deal with RPCs in OCaml
IN THIS PACKAGE

expr_of_typ ~loc typ returns an expression of type `Rpc.Types.typ` that represents the core_type typ`.

type field_def = {
f_name : string;
rpc_name : string;
value_name : string;
expr : Ppxlib.expression;
default : Ppxlib.expression option;
typ : Ppxlib.expression;
}

str_of_type loc type_decl returns a list of value bindings that are values of type `Rpc.Types.def` and `Rpc.Types.typ` that represent the newly defined type.