packages feed

ghc-stack-profiler-core-0.1.0.0: ghc-stack-profiler-core.cabal

cabal-version: 3.8
name: ghc-stack-profiler-core
version: 0.1.0.0
license: BSD-3-Clause
author: Hannes Siebenhandl, Wen Kokke, Matthew Pickering
maintainer: hannes@well-typed.com
build-type: Simple
synopsis: Thread sample types and serialisation logic for `ghc-stack-profiler`.
description:
  Thread sample types and serialisation logic for `ghc-stack-profiler`.
  Defines the interface and serialisation logic to turn an RTS Callstack into a binary message suitable for the eventlog.

extra-doc-files: CHANGELOG.md
category: Profiling, Benchmarking, Development
tested-with: ghc ==9.14 || ==9.12 || ==9.10

common warnings
  ghc-options:
    -Wall
    -Wunused-packages

common exts
  default-extensions:
    DeriveGeneric
    DerivingStrategies
    DuplicateRecordFields
    LambdaCase
    NamedFieldPuns
    ViewPatterns

library
  import:
    warnings, exts

  exposed-modules:
    GHC.Stack.Profiler.Core.Eventlog
    GHC.Stack.Profiler.Core.SourceLocation
    GHC.Stack.Profiler.Core.SymbolTable
    GHC.Stack.Profiler.Core.ThreadSample
    GHC.Stack.Profiler.Core.Util

  build-depends:
    base >=4.20 && <4.23,
    binary >=0.8.9.3 && <0.11,
    bytestring >=0.11   && <0.13,
    containers >=0.6.8 && <0.9,
    text >=2 && <2.2,
    transformers ^>=0.6.2,

  hs-source-dirs:
    src

  default-language: GHC2021