forked from rgrinberg/opium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune-project
88 lines (77 loc) · 1.66 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
(lang dune 1.11)
(using fmt 1.2)
(name opium)
(generate_opam_files true)
(source
(github rgrinberg/opium))
(authors
"Rudi Grinberg"
"Anurag Soni"
"Thibaut Mattio")
(maintainers "Rudi Grinberg <[email protected]>")
(documentation https://rgrinberg.github.io/opium/)
(license MIT)
(package
(name opium_kernel)
(synopsis "Sinatra like web toolkit based on Httpaf + Cohttp")
(description
"Opium_kernel is the Unix indpendent core of Opium. Useful for extremely portable environments such as mirage.")
(depends
(ocaml
(>= 4.08))
(dune
(>= 1.11))
(lwt
(>= 5.3.0))
httpaf
bigstringaf
hmap
logs
mtime
ptime
magic-mime
yojson
tyxml
sexplib0
mirage-crypto
base64
astring
re
uri
magic-mime
multipart-form-data
(alcotest :with-test)
(alcotest-lwt :with-test)))
(package
(name opium-testing)
(synopsis "Testing library for Opium")
(description
"A library that provides helpers to easily test your Opium applications.")
(depends
(ocaml
(>= 4.08))
(dune
(>= 1.11))
opium_kernel
alcotest
alcotest-lwt))
(package
(name opium)
(synopsis "Sinatra like web toolkit based on Lwt + Httpaf")
(description
"Opium is a minimalistic library for quickly binding functions to http routes. Its features include (but not limited to):\n\n Middleware system for app independent components\n A simple router for matching urls and parsing parameters\n Request/Response pretty printing for easier debugging\n ")
(depends
(ocaml
(>= 4.08))
(dune
(>= 1.11))
(opium_kernel
(= :version))
(lwt
(>= 5.3.0))
httpaf-lwt-unix
logs
mtime
cmdliner
(alcotest :with-test)
(alcotest-lwt :with-test)))