1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
cabal-version: 3.0
name: nothunks
version: 0.1.5
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: Apache-2.0
license-files: LICENSE
NOTICE
bug-reports: https://github.com/input-output-hk/nothunks
author: IOG
maintainer: Marcin Szamotulski <coot@coot.me>
copyright: 2018-2023 Input Output Global Inc (IOG)
category: Development
extra-doc-files: CHANGELOG.md
tested-with: GHC== { 8.10.7, 9.0.2, 9.2.5, 9.4.4, 9.6.1 }
source-repository head
type: git
location: https://github.com/input-output-hk/nothunks
flag bytestring
description: Provide instances for bytestring
default: True
manual: True
flag text
description: Provide instances for text
default: True
manual: True
flag vector
description: Provide instances for vector
default: True
manual: 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.13
if flag(text)
build-depends: text >= 1.2 && < 1.3 || >= 2 && < 2.2
if flag(vector)
build-depends: vector >= 0.12 && < 0.14
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.1 && < 1.5
, random >= 1.1 && < 1.3
, tasty >= 1.3 && < 1.6
, tasty-hedgehog >= 1.1 && < 1.5
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -Wall
|