this repo has no description
1opam-version: "2.0" 2maintainer: "Issuu" 3authors: "Anders Fugmann <af@issuu.com>" 4license: "Apache-2.0" 5homepage: "https://github.com/issuu/ocaml-protoc-plugin" 6dev-repo: "git+https://github.com/issuu/ocaml-protoc-plugin" 7bug-reports: "https://github.com/issuu/ocaml-protoc-plugin/issues" 8build: [ 9 ["dune" "subst"] {dev} 10 ["dune" "build" "-p" name "-j" jobs] 11 ["dune" "runtest" "-p" name "-j" jobs] {with-test} 12] 13depends: [ 14 "conf-protoc" {>= "1.0.0"} 15 "dune" {>= "2.0"} 16 "ocaml" {>= "4.06.0"} 17 "ppx_expect" {with-test & < "v0.17"} 18 "ppx_inline_test" {with-test} 19 "ppx_deriving" {with-test} 20] 21 22 23synopsis: "Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file" 24 25description: """ The plugin generates ocaml type definitions, 26serialization and deserialization functions from a protobuf file. 27The types generated aims to create ocaml idiomatic types; 28- messages are mapped into modules 29- oneof constructs are mapped to polymorphic variants 30- enums are mapped to adt's 31- map types are mapped to assoc lists 32- all integer types are mapped to int by default (exact mapping is also possible) 33- all floating point types are mapped to float. 34- packages are mapped to nested modules 35""" 36x-commit-hash: "bfe136cf6b97351b54f2ab2597cb43d7690fc6bd" 37url { 38 src: 39 "https://github.com/issuu/ocaml-protoc-plugin/releases/download/4.1.0/ocaml-protoc-plugin-4.1.0.tbz" 40 checksum: [ 41 "sha256=2e02e070c3bc18c5b2c804012d6db8c9451fb4b23a7a4256aab3e9fe96aaf862" 42 "sha512=4fe3a392f897a531eebf22c15a55623512ac0d9795da68188c367ab1f216d6b936ad22064be7179d04f204a22324ede772c7c4678a3fe3b2ca760aecb5e87999" 43 ] 44}