-
Notifications
You must be signed in to change notification settings - Fork 9
/
dispatch.opam
25 lines (25 loc) · 1018 Bytes
/
dispatch.opam
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
opam-version: "2.0"
maintainer: "Spiros Eliopoulos <[email protected]>"
authors: "Spiros Eliopoulos <[email protected]>"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-dispatch"
bug-reports: "https://github.com/inhabitedtype/ocaml-dispatch/issues"
doc: "https://inhabitedtype.github.io/ocaml-dispatch/"
depends: [
"ocaml" {>="4.03.0"}
"alcotest" {with-test & > "0.5.0"}
"dune" {>= "1.0"}
]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/inhabitedtype/ocaml-dispatch.git"
synopsis: "Path-based dispatching for client- and server-side applications"
description: """
ocaml-dispatch provides a basic mechanism for dispatching a request to a
handler based on hierarchical path names conventionally found in URIs. It can be
used both for dispatching requests in a server, as well as handing changes to
hierarchical fragments in a client-side application.
"""