nothunks-0.1.3: nothunks.cabal
cabal-version: 2.4
name: nothunks
version: 0.1.3
synopsis: Examine values for unexpected thunks
description: Long lived application data typically should not contain
any thunks. This library can be used to examine values for
unexpected thunks, which can then be used in assertions.
This can be invaluable in avoiding memory leaks, or tracking
down existing ones.
license: MIT
license-file: LICENSE
bug-reports: https://github.com/input-output-hk/nothunks
author: IOHK
maintainer: operations@iohk.io
copyright: 2018-2021 IOHK
category: Development
extra-source-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/input-output-hk/nothunks
flag bytestring
description: Provide instances for bytestring
default: True
flag text
description: Provide instances for text
default: True
flag vector
description: Provide instances for vector
default: True
library
exposed-modules: NoThunks.Class
build-depends: base >= 4.12 && < 5
, containers >= 0.5 && < 0.7
, stm >= 2.5 && < 2.6
, time >= 1.5 && < 1.13
-- Whatever is bundled with ghc
, ghc-heap
if flag(bytestring)
build-depends: bytestring >= 0.10 && < 0.12
if flag(text)
build-depends: text >= 1.2 && < 1.3
if flag(vector)
build-depends: vector >= 0.12 && < 0.13
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
test-suite nothunks-test
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Test.NoThunks.Class
build-depends: base
-- Self dependency
, nothunks
-- Dependencies shared with the lib
, containers
, stm
-- Whatever is bundled with ghc
, ghc-prim
-- Additional dependencies
, hedgehog >= 1.0 && < 1.1
, random >= 1.1 && < 1.3
, tasty >= 1.3 && < 1.5
, tasty-hedgehog >= 1.0 && < 1.2
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -Wall