opam-version: "2.0"
maintainer: "Anurag Soni <anurag@sonianurag.com>"
authors: [ "Anurag Soni <anurag@sonianurag.com>" ]
license: "BSD-3-Clause"
homepage: "https://github.com/anuragsoni/routes"
bug-reports: "https://github.com/anuragsoni/routes/issues"
dev-repo: "git+https://github.com/anuragsoni/routes.git"
doc: "https://anuragsoni.github.io/routes/"
tags: [ "router" "http" ]
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
  "ocaml" {>= "4.05"}
  "dune" { >= "1.7" }
  "alcotest" {with-test}
  "mdx" { with-test & < "1.5.0" }
]
synopsis: "Typed routing for OCaml applications"
description: """
routes provides combinators for adding typed routing
to OCaml applications. The core library will be independent
of any particular web framework or runtime. It does
path based dispatch from a target url to a user
provided handler.
"""
url {
  src:
    "https://github.com/anuragsoni/routes/releases/download/0.5.2/routes-0.5.2.tbz"
  checksum: [
    "sha256=9ace01e90e633b4e228b8b05dddd06957281e602fcf17b226ae8683050097da3"
    "sha512=b4c26b59a73fdc7436aa485a7d38ee2e989dc9d3b5a653e502e954a68c15e93f8486e22721e3a84f6730e1f8574e7a2314cfc2baf769e0f2586503067f9602cf"
  ]
}
