packages feed

structured-0.1.1: structured.cabal

cabal-version:      2.2
name:               structured
version:            0.1.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
extra-source-files: CHANGELOG.md
tested-with:
  GHC ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.4
   || ==9.0.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
    , base          >=4.7.0.2  && <4.16
    , binary        >=0.7.1.0  && <0.10
    , bytestring    >=0.10.4.0 && <0.12
    , containers    >=0.5.5.1  && <0.7
    , text          ^>=1.2.3.0
    , transformers  >=0.3.0.0  && <0.6

  -- other dependencies
  build-depends:
    , aeson                 >=1.2.1.0 && <1.6 || >=2.0.0.0 && <2.1
    , base16-bytestring     >=0.1.1.6 && <1.1
    , hashable              >=1.2     && <1.4
    , scientific            ^>=0.3
    , tagged                >=0.7     && <0.9
    , time-compat           ^>=1.9.2.2
    , unordered-containers  ^>=0.2
    , uuid-types            ^>=1.0.3
    , 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