packages feed

structured-0.1: structured.cabal

cabal-version: 2.2
name:          structured
version:       0.1
synopsis:      Structure (hash) of your data types
category:      Data
description:
  Calculate the hash of a data structure.
  It can be used as a magic number for the serialization formats.
  See <https://hackage.haskell.org/package/binary-tagged binary-tagged>
  for a @binary@ bindings.

bug-reports:   https://github.com/phadej/binary-tagged/issues
author:        Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:    Oleg Grenrus <oleg.grenrus@iki.fi>
license:       BSD-3-Clause
license-file:  LICENSE
build-type:    Simple
tested-with:
  GHC ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.3
   || ==8.10.1

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

library
  default-language: Haskell2010
  hs-source-dirs:   src
  ghc-options:      -Wall
  exposed-modules:  Data.Structured
  exposed-modules:  Data.Structured.Internal
  other-modules:    Data.Structured.MD5

  -- Libraries bundled with GHC
  build-depends:
      array         >=0.5.0.0  && <0.6
    , base          >=4.7.0.2  && <4.15
    , 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-compat   >=1.9.2.2  && <1.10
    , transformers  >=0.3.0.0  && <0.6

  -- other dependencies
  build-depends:
      aeson                 >=0.8     && <1.5
    , base16-bytestring     >=0.1.1.6 && <0.2
    , hashable              >=1.2     && <1.4
    , scientific            >=0.3     && <0.4
    , tagged                >=0.7     && <0.9
    , unordered-containers  >=0.2     && <0.3
    , uuid-types            >=1.0.3   && <1.1
    , vector                >=0.10    && <0.13

  if !impl(ghc >=8.0)
    build-depends: semigroups >=0.18.5 && <0.20

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