readme
[Seppo.git] / lib / dune
blob8dc39571b26aa553922d2be4b4ba07f2dba83df1
1 ; https://discuss.ocaml.org/t/working-with-application-data-in-packages/9464/5?u=mro
3 (rule
4  (target res.ml)
5  (deps
6   (source_tree ../res))
7  (action
8   (with-stdout-to
9    %{target}
10    (run ocaml-crunch --mode=plain ../res))))
12 (rule
13  (target plain2handle.ml)
14  (deps plain2handle.mll)
15  (action
16   (chdir
17    %{workspace_root}
18    (run %{bin:ocamllex} -q -o %{target} %{deps}))))
20 (rule
21  (target plain2html.ml)
22  (deps plain2html.mll)
23  (action
24   (chdir
25    %{workspace_root}
26    (run %{bin:ocamllex} -q -o %{target} %{deps}))))
28 (library
29  (name seppo_lib)
30  (libraries
31   as2_vocab
32   base64
33   ; https://github.com/mirleft/ocaml-x509/blob/master/tests/dune
34   camlp-streams ; https://discuss.ocaml.org/t/module-stream-removed-from-5-0-standard-library/10218/3?u=mro
35   cohttp-lwt-unix
36   csexp
37   cstruct
38   logs
39   lwt
40   lwt.unix
41   lambdasoup
42   mirage-crypto-pk
43   mirage-crypto-rng.unix
44   optint
45   ptime.clock.os
46   re
47   safepass
48   str
49   timedesc ; ~600k
50   tls-lwt
51    tyre
52   unix
53   uri
54   uucp ; ~4m
55   uuidm
56   uunf.string
57   uutf
58   x509
59   xmlm)
60  ; https://dev.realworldocaml.org/data-serialization.html#scrollNav-1-2
61  ; (preprocess (pps ppx_sexp_conv))
62  (preprocess
63   (pps lwt_ppx))
64  ; https://discuss.ocaml.org/t/lwt-ppx-binary-footprint/11818/2
65  (flags
66   (:standard -cclib "-z noexecstack" -safe-string)))