packages feed

burrito-1.0.0.2: burrito.cabal

name: burrito
version: 1.0.0.2

synopsis: Parse and render URI templates.
description:
  Burrito is a Haskell library for parsing and rendering URI templates.
  .
  According to [RFC 6570](https://tools.ietf.org/html/rfc6570): "A URI Template
  is a compact sequence of characters for describing a range of Uniform
  Resource Identifiers through variable expansion." Burrito implements URI
  templates according to the specification in that RFC.
  .
  The term "uniform resource identifiers" (URI) is often used interchangeably
  with other related terms like "internationalized resource identifier" (IRI),
  "uniform resource locator" (URL), and "uniform resource name" (URN). Burrito
  can be used for all of these. If you want to get technical, its input must be
  a valid IRI and its output will be a valid URI or URN.
  .
  Although Burrito is primarily intended to be used with HTTP and HTTPS URIs,
  it should work with other schemes as well.

build-type: Simple
cabal-version: >= 1.8
category: Network
extra-source-files: README.markdown
license-file: LICENSE.markdown
license: ISC
maintainer: Taylor Fausak

source-repository head
  location: https://github.com/tfausak/burrito
  type: git

library
  build-depends:
    base >= 4.12.0 && < 4.15
  exposed-modules: Burrito
  ghc-options:
    -Weverything
    -Wno-all-missed-specialisations
    -Wno-implicit-prelude
    -Wno-missing-exported-signatures
    -Wno-safe
  hs-source-dirs: src/lib

  if impl(ghc >= 8.8.1)
    ghc-options:
      -Wno-missing-deriving-strategies

  if impl(ghc >= 8.10.1)
    ghc-options:
      -Wno-missing-safe-haskell-mode
      -Wno-prepositive-qualified-module

test-suite test
  build-depends:
    base -any
    , burrito -any
    , HUnit >= 1.6.0 && < 1.7
    , transformers >= 0.5.6 && < 0.6
  hs-source-dirs: src/test
  main-is: Main.hs
  type: exitcode-stdio-1.0