-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_oasis
56 lines (49 loc) · 2.01 KB
/
_oasis
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
OASISFormat: 0.3
Name: rip
Version: 1.0-alpha1
Synopsis: Simple REST framework on top of Cohttp
Authors: Dario Teixeira
License: LGPL-2.1 with OCaml linking exception
LicenseFile: LICENSE
Plugins: META (0.3), DevFiles (0.3)
BuildTools: ocamlbuild, make
Description:
RIP is a simple framework for building RESTful servers in OCaml. It's basically a thin
wrapper on top of Cohttp that takes care of some of the boilerplate involved in writing
a RESTful server. It makes sure the proper response codes are sent when various error
conditions occur, and automatically routes requests based on content-type and accept
headers. Another notable feature is the support for type-safe routing to resources.
Flag "lwt"
Description: Build auxiliary library "Rip_lwt"
Default: false
Library "rip"
Path: src
Modules: Rip
BuildDepends: cohttp, re, result, tyre, uri
Library "rip_lwt"
Build$: flag(lwt)
Install$: flag(lwt)
Path: src
Modules: Rip_lwt
BuildDepends: cohttp-lwt, cohttp-lwt-unix, lwt, rip
FindlibParent: rip
FindlibName: lwt
Document "rip"
Install: true
InstallDir: $htmldir
Title: API reference for Rip
Type: ocamlbuild (0.3)
BuildTools+: ocamldoc
XOCamlbuildPath: src
XOCamlbuildLibraries: rip
Executable "test"
Build$: flag(tests) && flag(lwt)
Path: tests
MainIs: test.ml
Install: false
BuildDepends: alcotest, cohttp-lwt, cohttp-lwt-unix, lwt, lwt.ppx, ppx_deriving.show, rip.lwt, threads
CompiledObject: best
Test "test"
Run$: flag(tests) && flag(lwt)
Command: $test
WorkingDirectory: tests