name:                unjson
version:             0.15.2.0
synopsis:            Bidirectional JSON parsing and generation.
description:         Bidirectional JSON parsing and generation
                     with automatic documentation support.
homepage:            https://github.com/scrive/unjson
license:             BSD3
license-file:        LICENSE
author:              Scrive AB
maintainer:          Gracjan Polak <gracjanpolak@gmail.com>,
                     Jonathan Jouty <jonathan@scrive.com>,
                     Mikhail Glushenkov <mikhail@scrive.com>
copyright:           Scrive AB
category:            Data
build-type:          Simple
extra-source-files:  README.md, CHANGELOG.md
cabal-version:       >=1.18
tested-with:         GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2,
                     GHC == 8.2.2, GHC == 8.4.1

source-repository head
  type:     git
  location: https://github.com/scrive/unjson.git

source-repository this
  type:     git
  location: https://github.com/scrive/unjson.git
  tag:      0.15.2.0

library
  exposed-modules:     Data.Unjson
  -- other-modules:
  -- other-extensions:
  build-depends:       base >= 4.7 && < 5,
                       aeson >= 1.0 && < 1.4,
                       attoparsec,
                       bytestring >= 0.10,
                       containers,
                       free,
                       hashable,
                       invariant,
                       pretty,
                       primitive,
                       scientific,
                       semigroups >= 0.16,
                       text,
                       time,
                       unordered-containers,
                       vector
  hs-source-dirs:      src
  ghc-options:         -Wall
  default-language:    Haskell2010
  default-extensions:  BangPatterns,
                       DeriveDataTypeable,
                       DeriveFunctor,
                       ExtendedDefaultRules,
                       FlexibleContexts,
                       FlexibleInstances,
                       GADTs,
                       GeneralizedNewtypeDeriving,
                       OverloadedStrings,
                       RankNTypes,
                       ScopedTypeVariables,
                       TypeFamilies,
                       UndecidableInstances

Test-Suite test
  type:                exitcode-stdio-1.0
  main-is:             Test.hs
  hs-source-dirs:      test
  build-depends:       unjson, base, text, aeson,
                       free, scientific, attoparsec,
                       unordered-containers, vector, HUnit, bytestring >= 0.10,
                       pretty, primitive, containers, time,
                       hashable, invariant
  ghc-options:         -Wall
  default-language:    Haskell2010
  default-extensions:  BangPatterns,
                       DeriveDataTypeable,
                       DeriveFunctor,
                       ExtendedDefaultRules,
                       FlexibleContexts,
                       FlexibleInstances,
                       GADTs,
                       GeneralizedNewtypeDeriving,
                       OverloadedStrings,
                       RankNTypes,
                       ScopedTypeVariables,
                       TypeFamilies,
                       UndecidableInstances