packages feed

json-tracer-0.0.2.0: json-tracer.cabal

name:                json-tracer
version:             0.0.2.0
synopsis:            A polymorphic, type-safe, json-structured tracing library
description:         
    .
    A polymorphic, type-safe, structured tracing library.

homepage:            https://github.com/autotaker/json-tracer#readme
license:             BSD3
license-file:        LICENSE
author:              Taku Terao
maintainer:          autotaker@gmail.com
copyright:           2017 Taku Terao
category:            Control
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  ghc-options:         -W
  exposed-modules:     Data.PolyDict
                     , Control.Monad.Trans.CTrace
                     , Control.Monad.CTrace
  build-depends:       base >= 4.7 && <5,
                       mtl >=2.2 && <2.3, 
                       unordered-containers >= 0.2.8,
                       hashable >= 1.2.6 &&  < 1.2.7,
                       ghc-prim >= 0.5 && < 0.6,
                       microlens > 0.4.0,
                       microlens-ghc > 0.4.0,
                       transformers >= 0.5 && < 0.6,
                       containers >= 0.5 && < 0.6,
                       text >= 1.2.2,
                       aeson >= 0.11,
                       template-haskell >= 2.11
  default-extensions:  FlexibleInstances
                     , FlexibleContexts
                     , BangPatterns
                     , MultiParamTypeClasses
                     , ScopedTypeVariables
                     , GADTs
                     , OverloadedLabels
                     , DataKinds
                     , TypeFamilies
                     , RankNTypes
                     , TemplateHaskell
  default-language:    Haskell2010

test-suite unit-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       PolyDictSpec
  build-depends:       base
                     , json-tracer
                     , hspec >= 2.2
                     , hspec-core >= 2.2
                     , hspec-expectations >= 0.7
                     , hspec-discover
                     , microlens
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

test-suite example
  type:                exitcode-stdio-1.0
  hs-source-dirs:      example
  main-is:             Main.hs
  other-modules:       Fib, Fib2
  build-depends:       base
                     , json-tracer
                     , microlens
                     , aeson
                     , aeson-pretty
                     , time
                     , containers
                     , bytestring
                     , mtl
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/autotaker/json-tracer