opam-version: "2.0"
maintainer: "Gabriel Radanne <drupyog@zoho.com>"
authors: "Gabriel Radanne <drupyog@zoho.com>"
homepage: "https://github.com/Drup/tyre"
doc: "https://drup.github.io/tyre/doc/0.4/tyre/Tyre/"
bug-reports: "https://github.com/Drup/tyre/issues"
license: "ISC"
dev-repo: "git+https://github.com/Drup/tyre.git"
tags: [ "regex" ]

build: [
  ["jbuilder" "subst"]{pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name] {with-test}
]


depends: [
  "ocaml" {>= "4.02.0"}
  "jbuilder"
  "re" {>= "1.8.0"}
  "alcotest" {with-test & >= "0.8.0"}
  "result"
  "seq"
]
synopsis: "Typed Regular Expressions"
description: """
Tyre is a set of combinators to build type-safe regular expressions,
allowing automatic extraction and modification of matched groups.
Tyre is bi-directional: a typed regular expressions can be used for
parsing and unparsing. It also allows routing, by providing a list of
regexs/routes and their handlers."""
url {
  src: "https://github.com/Drup/tyre/releases/download/0.4/tyre-0.4.tbz"
  checksum: "md5=7be0f142c25c233a0e257adc76fdf5e9"
}
