packages feed

http-link-header-1.1.1: http-link-header.cabal

cabal-version:      1.12
name:               http-link-header
version:            1.1.1
license:            PublicDomain
license-file:       UNLICENSE
copyright:          2014-2020 Greg V <greg@unrelenting.technology>
maintainer:         stevenjshuck@gmail.com
author:             Greg V
tested-with:        ghc ==8.4.3 ghc ==8.8.3
homepage:           https://github.com/myfreeweb/http-link-header#readme
bug-reports:        https://github.com/myfreeweb/http-link-header/issues
synopsis:           A parser and writer for the HTTP Link header per RFC 5988
description:
    Please see the README on GitHub at <https://github.com/myfreeweb/http-link-header#readme>

category:           Web
build-type:         Simple
extra-source-files: README.md

source-repository head
    type:     git
    location: https://github.com/myfreeweb/http-link-header

library
    exposed-modules:
        Network.HTTP.Link
        Network.HTTP.Link.Parser
        Network.HTTP.Link.Types
        Network.HTTP.Link.Writer

    hs-source-dirs:   library
    other-modules:    Paths_http_link_header
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        attoparsec >=0.13.2.4 && <0.14,
        base >=4.3 && <5,
        bytestring >=0.10.10.0 && <0.11,
        errors >=2.3.0 && <2.4,
        http-api-data >=0.4.1.1 && <0.5,
        network-uri >=2.6.3.0 && <2.7,
        text >=1.2.4.0 && <1.3

test-suite tests
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test-suite
    other-modules:
        Network.HTTP.Link.ParserSpec
        Network.HTTP.Link.WriterSpec
        Network.HTTP.LinkSpec
        Paths_http_link_header

    default-language: Haskell2010
    ghc-options:      -threaded -Wall
    build-depends:
        QuickCheck >=2.13.2 && <2.14,
        attoparsec >=0.13.2.4 && <0.14,
        base >=4.3 && <5,
        bytestring >=0.10.10.0 && <0.11,
        errors >=2.3.0 && <2.4,
        hspec >=2.7.2 && <2.8,
        hspec-attoparsec >=0.1.0.2 && <0.2,
        http-api-data >=0.4.1.1 && <0.5,
        http-link-header -any,
        network-uri >=2.6.3.0 && <2.7,
        text >=1.2.4.0 && <1.3

benchmark benchmarks
    type:             exitcode-stdio-1.0
    main-is:          Bench.hs
    hs-source-dirs:   benchmark
    other-modules:
        ParserBench
        WriterBench
        Paths_http_link_header

    default-language: Haskell2010
    ghc-options:      -threaded -Wall
    build-depends:
        attoparsec >=0.13.2.4 && <0.14,
        base >=4.3 && <5,
        bytestring >=0.10.10.0 && <0.11,
        criterion >=1.5.6.2 && <1.6,
        directory >=1.3.6.0 && <1.4,
        errors >=2.3.0 && <2.4,
        http-api-data >=0.4.1.1 && <0.5,
        http-link-header -any,
        network-uri >=2.6.3.0 && <2.7,
        text >=1.2.4.0 && <1.3,
        transformers >=0.5.6.2 && <0.6