Files
Thomas Leonard 48d675b10e Initial Eio port
This switches capnp-rpc from Lwt to Eio. One particularly nice side
effect of this is that `Service.return_lwt` has gone, as there is no
distinction now between concurrent and non-concurrent service methods.
2024-11-16 12:09:07 +00:00

15 lines
381 B
Plaintext

(library
(name capnp_rpc)
(public_name capnp-rpc)
(libraries astring capnp capnp-rpc.proto fmt logs eio uri))
(rule
(targets rpc_schema.ml rpc_schema.mli)
(deps rpc_schema.capnp)
(action (run capnp compile -o %{bin:capnpc-ocaml} %{deps})))
(rule
(targets persistent.ml persistent.mli)
(deps persistent.capnp)
(action (run capnp compile -o %{bin:capnpc-ocaml} %{deps})))