File: dune

package info (click to toggle)
ocaml-cohttp 6.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,624 kB
  • sloc: ml: 13,107; makefile: 20; sh: 18; javascript: 18
file content (38 lines) | stat: -rw-r--r-- 803 bytes parent folder | download
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
(executable
 (name bench)
 (modules bench)
 (libraries http core core_unix.command_unix core_bench))

(executable
 (name lwt_unix_server)
 (modules lwt_unix_server)
 (libraries cohttp-lwt-unix logs.fmt fmt.tty))

(executable
 (name async_server)
 (modules async_server)
 (libraries cohttp-async core_unix.command_unix logs.fmt fmt.tty))

(executable
 (name eio_server)
 (modules eio_server)
 (libraries cohttp-eio eio_main))

(rule
 (alias bench)
 (package cohttp-bench)
 (enabled_if %{arch_sixtyfour})
 (action
  (run ./bench.exe time cycles)))

(rule
 (alias latency)
 (deps lwt_unix_server.exe async_server.exe)
 (package cohttp-bench)
 (action
  (run ./latency.sh)))

(executable
 (name lwt_unix_server_new)
 (modules lwt_unix_server_new)
 (libraries cohttp_server_lwt_unix lwt.unix lwt http unix))