packages feed

aeson-injector-1.2.0.0: aeson-injector.cabal

name:                aeson-injector
version:             1.2.0.0
synopsis:            Injecting fields into aeson values
description:         It is small utility library that is intented to be used in RESTful APIs, especially with [servant](http://haskell-servant.readthedocs.io/en/stable/) and [Swagger](http://swagger.io/). Its main purpose is simple injection of fields into JSONs produced by [aeson](https://hackage.haskell.org/package/aeson) library.
license:             MIT
license-file:        LICENSE
author:              Anton Gushcha
maintainer:          ncrashed@gmail.com
copyright:           2016-2017 Anton Gushcha
category:            Data, JSON, Web
build-type:          Simple
cabal-version:       1.18
tested-with:
    GHC == 8.4.3
  , GHC == 8.6.5
  , GHC == 8.8.1
  , GHC == 8.10.7
extra-source-files:
  README.md
  CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/NCrashed/aeson-injector

library
  default-language: Haskell2010
  hs-source-dirs: src
  exposed-modules:
      Data.Aeson.Unit
      Data.Aeson.WithField
      Data.Aeson.WithField.Internal

  build-depends:
      base                 >= 4.7     && < 4.17
    , aeson                >= 0.11    && < 1.6
    , attoparsec           >= 0.14    && < 0.15
    , bifunctors           >= 5.2     && < 6
    , deepseq              >= 1.4     && < 2
    , hashable             >= 1.0     && < 2.0
    , lens                 >= 4.13    && < 5.2
    , servant-docs         >= 0.7     && < 0.13
    , swagger2             >= 2.4     && < 3.0
    , text                 >= 1.2     && < 2.1
    , unordered-containers >= 0.2.7   && < 0.3

test-suite test-aeson-injector
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  build-depends:
      base
    , aeson
    , aeson-injector
    , containers
    , HUnit >= 1.3
    , lens
    , QuickCheck >= 2.8.2
    , quickcheck-text
    , scientific
    , swagger2
    , tasty >= 0.11
    , tasty-hunit >= 0.9
    , tasty-quickcheck >= 0.8
    , text
    , vector