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] {with-test}
]
depends: [
  "ocaml" {>= "4.05"}
  "dune" { >= "1.8" }
  "alcotest" {with-test}
  "mdx" { with-test }
]
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.0/routes-0.5.0.tbz"
  checksum: [
    "sha256=d209a537921c30769b8c1875d473357a88918a3289ba00bcb77d4442990ade73"
    "sha512=3ebade912f1589c97ee88c1b1a7c8e3c38b2ac41e4e3805b34e0843460ed14779f5e584ae885638976a6d4b4d5849ccb41c6712b238990a9f358ed669971e839"
  ]
}
