-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdune-project
63 lines (56 loc) · 1.23 KB
/
dune-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
(lang dune 2.9)
(name twirp)
(version 0.2)
(generate_opam_files true)
(source
(github c-cube/ocaml-twirp))
(authors "Simon Cruanes")
(maintainers "Simon Cruanes")
(license MIT)
;(documentation https://url/to/documentation)
(package
(name twirp_core)
(synopsis "Twirp core library")
(depends
(ocaml (>= 4.12))
dune
(ocaml-protoc (and (>= 3.0) :with-dev-setup))
logs
(pbrt (>= 3.0))
(pbrt_yojson (>= 3.0))
(pbrt_services (>= 3.0))
(odoc :with-doc))
(tags
(twirp protobuf client rpc curl)))
(package
(name twirp_ezcurl)
(synopsis "Twirp client using Ezcurl")
(depends
(twirp_core (= :version))
dune
ezcurl
(odoc :with-doc))
(tags
(twirp protobuf client rpc curl)))
(package
(name twirp_cohttp_lwt_unix)
(synopsis "Twirp client using cohttp-lwt-unix")
(depends
(twirp_core (= :version))
dune
(cohttp-lwt-unix (>= 5.0))
lwt
(odoc :with-doc))
(tags
(twirp protobuf client rpc curl)))
(package
(name twirp_tiny_httpd)
(synopsis "Host Twirp services using Tiny_httpd")
(depends
(twirp_core (= :version))
dune
(tiny_httpd (>= 0.16))
(odoc :with-doc))
(tags
(twirp protobuf services rpc)))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project