A repository of opam repositories, for use by oi
1opam-version: "2.0"
2synopsis: "Eio HTTP server with static file serving and route handlers"
3description:
4 "Serves files from a document root with MIME detection, ETag conditional requests, and directory index. Supports custom route handlers for API endpoints. Reuses HTTP types from requests."
5maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
6authors: "Thomas Gazagnaire <thomas@gazagnaire.org>"
7license: "ISC"
8tags: ["org:blacksun" "network" "http" "eio"]
9homepage: "https://tangled.org/gazagnaire.org/ocaml-respond"
10bug-reports: "https://tangled.org/gazagnaire.org/ocaml-respond/issues"
11depends: [
12 "ocaml" {>= "5.1"}
13 "dune" {>= "3.21" & >= "3.0"}
14 "nox-http"
15 "eio"
16 "logs"
17 "magic-mime"
18 "mdx" {with-test}
19 "alcotest" {with-test}
20 "fmt"
21 "eio_main" {with-test}
22 "odoc" {with-doc}
23]
24build: [
25 ["dune" "subst"] {dev}
26 [
27 "dune"
28 "build"
29 "-p"
30 name
31 "-j"
32 jobs
33 "@install"
34 "@runtest" {with-test}
35 "@doc" {with-doc}
36 ]
37]
38dev-repo: "git+https://tangled.org/gazagnaire.org/ocaml-respond"
39url {
40 src:
41 "git+https://tangled.org/gazagnaire.org/ocaml-respond#a61ef9120cab463b3f7e8b04b5285e449b03c022"
42}
43x-d10-archive:
44 "fb20de788af1add04b891aae9bf507a830f4b535f7e413dc53d49eba0924c530"
45x-maintenance-intent: ["(latest)"]
46x-oi-source-url: "git+https://tangled.org/gazagnaire.org/ocaml-respond#main"
47x-quality-build: "2026-04-15"
48x-quality-test: "2026-04-15"