(library
 (name elpe)
 (public_name elpe)
 (modes byte)
 (libraries
  grpc-lwt
  lwt
  lwt.unix
  h2
  h2-lwt-unix
  ocaml-protoc-plugin))

(rule
 (targets elpegrpc.ml)
 (deps
  (:proto elpegrpc.proto))
 (action
  (run
   protoc
   -I
   .
   "--ocaml_out=annot=[@@deriving show { with_path = false }, eq]:."
   %{proto})))