packages feed

resp-2.0.0: resp.cabal

cabal-version:   3.0
name:            resp
version:         2.0.0
license:         BSD-3-Clause
license-file:    LICENSE
author:          Owen Shepherd
maintainer:      owen@owen.cafe
category:        Data
build-type:      Simple
synopsis   :     A fast, non-backtracking parser for the redis RESP3 protocol
description:     RESP is redis' serialization protocol. This package provides a
                 lightweight and correct parser for RESP3, which can be used
                 incrementally (eg. over a network connection).
extra-doc-files: CHANGELOG.md
               , README.md
tested-with:     GHC==9.6.2
               , GHC==9.4.5
               , GHC==9.2.8
               , GHC==9.0.2
               , GHC==8.10.7
               , GHC==8.8.4
               , GHC==8.6.5
               , GHC==8.4.4
               , GHC==8.2.2
               , GHC==8.0.2
               , GHC==7.10.3
               , GHC==7.8.4
               , GHC==7.6.3
               , GHC==7.4.2

common warnings
    ghc-options: -Wall

library
    import:           warnings
    exposed-modules:  Data.RESP
    build-depends:    base >=4.3 && <5
                    , bytestring >= 0.9 && < 0.13
                    , scanner >= 0.1 && < 0.4
    if(impl(ghc < 7.6))
      build-depends:  ghc-prim > 0.1 && < 0.3
    hs-source-dirs:   src
    default-language: Haskell98

test-suite resp-test
    import:           warnings
    default-language: Haskell98
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:    base >=4.3 && <5
                    , bytestring >= 0.9 && < 0.13
                    , QuickCheck >= 2.1 && < 3
                    , resp
                    , scanner >= 0.1 && < 0.4
                    , tasty >= 0.1 && < 1.6
                    , tasty-hunit >= 0.1 && < 0.11
                    , tasty-quickcheck >= 0.1 && < 0.11
                    , utf8-string >= 0.3 && < 2