ocaml-protoc-plugin

Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file
IN THIS PACKAGE
module CType : sig ... end
module JSType : sig ... end
val name' : unit -> string
type t = {
ctype : CType.t;
packed : bool option;
jstype : JSType.t;
lazy' : bool;
deprecated : bool;
weak : bool;
uninterpreted_option : UninterpretedOption.t list;
extensions' : Ocaml_protoc_plugin.Runtime.Runtime'.Extensions.t;
}
val make : ?ctype:CType.t -> ?packed:bool -> ?jstype:JSType.t -> ?lazy':bool -> ?deprecated:bool -> ?weak:bool -> ?uninterpreted_option:UninterpretedOption.t list -> ?extensions':Ocaml_protoc_plugin.Runtime.Runtime'.Extensions.t -> unit -> t
val to_proto : t -> Ocaml_protoc_plugin.Runtime.Runtime'.Writer.t
val from_proto : Ocaml_protoc_plugin.Runtime.Runtime'.Reader.t -> ( t, [> Ocaml_protoc_plugin.Runtime.Runtime'.Result.error ] ) result