packages feed

heapsize-0.1: heapsize.cabal

cabal-version:      3.0
name:               heapsize
version:            0.1
license:            BSD-3-Clause
license-file:       LICENSE
category:           GHC, Debug, Development
build-type:         Simple
author:             Michail Pardalos <mpardalos@gmail.com>
maintainer:         Michail Pardalos <mpardalos@gmail.com>
copyright:          Michail Pardalos 2020
synopsis:           Determine the size of runtime data structures
description:        heapsize is a tool to determine the size data structures.
                    Determining the size of recursive data structures is
                    supported. All sizes are in Bytes.

Library
  Exposed-modules:
    HeapSize
  c-sources:
    cbits/heapsize_prim.cmm
  Default-Language: Haskell2010
  Build-depends:
      base >= 4.12 && < 4.15
    , deepseq >= 1.3 && < 1.5
    , ghc-heap >= 8.6
    , unordered-containers ==0.2.*
    , hashable ==1.3.*
    , primitive
  Hs-source-dirs: src/
  Ghc-options: -Wall

benchmark benchmarks
  build-depends:
      base
    , heapsize
    , criterion
    , primitive
    , deepseq
  default-language: Haskell2010
  ghc-options:      -Wall
  hs-source-dirs:   benchmarks
  main-is:          Main.hs
  type:             exitcode-stdio-1.0

source-repository head
    type:     git
    location: https://github.com/mpardalos/heapsize.git