ocaml-protoc-plugin

Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file
IN THIS PACKAGE
module OptimizeMode : sig ... end
val name' : unit -> string
type t = {
java_package : string option;
java_outer_classname : string option;
java_multiple_files : bool;
java_generate_equals_and_hash : bool option;
java_string_check_utf8 : bool;
optimize_for : OptimizeMode.t;
go_package : string option;
cc_generic_services : bool;
java_generic_services : bool;
py_generic_services : bool;
php_generic_services : bool;
deprecated : bool;
cc_enable_arenas : bool;
objc_class_prefix : string option;
csharp_namespace : string option;
swift_prefix : string option;
php_class_prefix : string option;
php_namespace : string option;
php_metadata_namespace : string option;
ruby_package : string option;
uninterpreted_option : UninterpretedOption.t list;
extensions' : Ocaml_protoc_plugin.Runtime.Runtime'.Extensions.t;
}
val make : ?java_package:string -> ?java_outer_classname:string -> ?java_multiple_files:bool -> ?java_generate_equals_and_hash:bool -> ?java_string_check_utf8:bool -> ?optimize_for:OptimizeMode.t -> ?go_package:string -> ?cc_generic_services:bool -> ?java_generic_services:bool -> ?py_generic_services:bool -> ?php_generic_services:bool -> ?deprecated:bool -> ?cc_enable_arenas:bool -> ?objc_class_prefix:string -> ?csharp_namespace:string -> ?swift_prefix:string -> ?php_class_prefix:string -> ?php_namespace:string -> ?php_metadata_namespace:string -> ?ruby_package:string -> ?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