mirror of
https://github.com/zap-proto/ocaml-rpc.git
synced 2026-10-30 15:04:28 +00:00
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.
9 lines
198 B
Plaintext
9 lines
198 B
Plaintext
(executable
|
|
(name main)
|
|
(libraries eio_main capnp-rpc logs.fmt))
|
|
|
|
(rule
|
|
(targets echo_api.ml echo_api.mli)
|
|
(deps echo_api.capnp)
|
|
(action (run capnp compile -o %{bin:capnpc-ocaml} %{deps})))
|