dune
(include_subdirs unqualified)
(library
(name elpe)
(public_name elpe)
(modes byte)
(preprocess (pps ppx_blob ppx_string))
(preprocessor_deps (file rust/run_build_script.sh))
(libraries grpc-lwt lwt lwt.unix h2 h2-lwt-unix ocaml-protoc-plugin core yojson toml hex))
(env (dev (flags (:standard -warn-error -A))))
(rule
(targets elpegrpc.ml)
(deps
(:proto elpegrpc.proto))
(action
(run
protoc
-I
.
"--ocaml_out=annot=[@@deriving show { with_path = false }, eq]:."
%{proto})))