ocaml-protoc-plugin

Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file
IN THIS PACKAGE
module IdempotencyLevel : sig ... end
val name' : unit -> string
type t = {
deprecated : bool;
idempotency_level : IdempotencyLevel.t;
uninterpreted_option : UninterpretedOption.t list;
extensions' : Ocaml_protoc_plugin.Runtime.Runtime'.Extensions.t;
}
val make : ?deprecated:bool -> ?idempotency_level:IdempotencyLevel.t -> ?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