version: "0.5"
opam-version: "2.0"
name: "tyre"
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/dev/tyre/Tyre/"
bug-reports: "https://github.com/Drup/tyre/issues"
license: "ISC"
dev-repo: "git+https://github.com/Drup/tyre.git"
tags: [ "regex" ]

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


depends: [
  "ocaml" { >= "4.03.0" }
  "dune" {build & >= "1.0"}
  "re" {>= "1.8.0"}
  "alcotest" {with-test & >= "0.8.0"}
  "odoc" { with-doc }
  "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
"""