packages feed

binary-tagged-0.1.5.1: binary-tagged.cabal

cabal-version:  >= 1.10
name:           binary-tagged
version:        0.1.5.1

synopsis:       Tagged binary serialisation.
category:       Data
description:    Check <https://github.com/phadej/binary-tagged#readme README on Github>

homepage:       https://github.com/phadej/binary-tagged#readme
bug-reports:    https://github.com/phadej/binary-tagged/issues
author:         Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:     Oleg Grenrus <oleg.grenrus@iki.fi>
license:        BSD3
license-file:   LICENSE
build-type:     Simple

tested-with:
  GHC ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.3
   || ==8.6.1

extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
  type: git
  location: https://github.com/phadej/binary-tagged

library
  hs-source-dirs:
      src
  ghc-options: -Wall

  -- Libraries bundled with GHC
  build-depends:
      base                     >=4.7.0.2  && <4.13
    , array                    >=0.5.0.0  && <0.6
    , binary                   >=0.7.1.0  && <0.10
    , bytestring               >=0.10.4.0 && <0.11
    , containers               >=0.5.5.1  && <0.7
    , text                     >=1.2.3.0  && <1.3
    , time                     >=1.4.2    && <1.9

  -- other dependencies
  build-depends:
      aeson                    >=0.8     && <1.5
    , base16-bytestring        >=0.1.1.6 && <0.2
    , generics-sop             >=0.3.2.0 && <0.4
    , hashable                 >=1.2     && <1.3
    , scientific               >=0.3     && <0.4
    , SHA                      >=1.6     && <1.7
    , tagged                   >=0.7     && <0.9
    , unordered-containers     >=0.2     && <0.3
    , vector                   >=0.10    && <0.13

  exposed-modules:
      Data.Binary.Tagged
  default-language: Haskell2010

  if !impl(ghc >= 8.0)
    build-depends:
      semigroups >=0.18.5 && <0.19
  if !impl(ghc >= 7.10)
    build-depends:
      nats      >=1.1.2   && <1.2

test-suite binary-tagged-test
  type: exitcode-stdio-1.0
  main-is: Tests.hs
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      base
    , aeson
    , array
    , base16-bytestring
    , binary
    , bytestring
    , containers
    , generics-sop
    , hashable
    , scientific
    , SHA
    , tagged
    , text
    , time
    , unordered-containers
    , vector
    , binary-tagged
    , binary-orphans
    , bifunctors
    , quickcheck-instances
    , tasty
    , tasty-quickcheck
  if !impl(ghc >= 8.0)
    build-depends:
      semigroups
  if !impl(ghc >= 7.10)
    build-depends:
      nats
  other-modules:
      Generators
      Rec1
      Rec2
  default-language: Haskell2010

benchmark binary-tagged-bench
  type: exitcode-stdio-1.0
  main-is: Bench.hs
  hs-source-dirs:
      bench
  ghc-options: -Wall
  build-depends:
      base
    , aeson
    , array
    , base16-bytestring
    , binary
    , bytestring
    , containers
    , generics-sop
    , hashable
    , nats
    , scientific
    , SHA
    , semigroups
    , tagged
    , text
    , time
    , unordered-containers
    , vector
    , binary-tagged
    , binary-orphans
    , deepseq
    , criterion
  default-language: Haskell2010