(jbuild_version 1)

(library
 ((name sdk)
  (public_name sdk)
  (flags (:standard -w -53-55))
  (libraries (irmin irmin-mem lwt.unix rawlink charrua-core.wire
              tuntap astring mirage-flow-lwt mirage-net-flow
              mirage-time-lwt mirage-flow-rawlink capnp capnp-rpc-lwt))))

(rule
  ((targets (proto.ml proto.mli))
   (deps (proto.capnp))
   (action (run capnp compile -o ocaml ${<}))))
