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"]
depends: [
  "ocaml" {>= "4.05.0"}
  "dune"
  "bisect_ppx" {dev & >= "2.0.0"}
  "alcotest" {with-test}
  "mdx" {with-test}
]
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {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.8.0/routes-0.8.0.tbz"
  checksum: [
    "sha256=fa786b05d61fa08c1386bfa3259cbb9ebb129e7f8ac759a6bec0c52cc92a7c46"
    "sha512=4ad7b8416de7acc07927f990af85821100aa1e8c2cb53c59639001b335cc472f5b42c2c9ccfd301dc59801918da250fdcf9f47874fa38452d53ea0e27766a75a"
  ]
}
