cabal-version: 3.8
name: ghc-stack-profiler-core
version: 0.5.0.0
license: BSD-3-Clause
author: Hannes Siebenhandl, Wen Kokke, Matthew Pickering
maintainer: hannes@well-typed.com
build-type: Simple
synopsis:
The eventlog protocol used by ghc-stack-profiler
description:
The eventlog protocol used by @ghc-stack-profiler@.
For details, see [@ghc-stack-profiler@](https://hackage.haskell.org/package/ghc-stack-profiler).
extra-doc-files: CHANGELOG.md
category: Profiling, Benchmarking, Development
tested-with:
ghc ==10.1 || ==9.14.1 || ==9.12.2 || ==9.10.3 || ==9.8.4 || ==9.6.7 || ==9.4.8
common warnings
ghc-options:
-Wall
-Wunused-packages
common exts
default-extensions:
DeriveGeneric
DerivingStrategies
DuplicateRecordFields
LambdaCase
NamedFieldPuns
NoImportQualifiedPost
PatternSynonyms
ViewPatterns
library
import:
warnings, exts
exposed-modules:
GHC.Stack.Profiler.Core
GHC.Stack.Profiler.Core.Internal
other-modules:
GHC.Stack.Profiler.Core.Internal.CallStack
GHC.Stack.Profiler.Core.Internal.Dehydrate
GHC.Stack.Profiler.Core.Internal.Eventlog
GHC.Stack.Profiler.Core.Internal.Hydrate
GHC.Stack.Profiler.Core.Internal.Util
build-depends:
base >=4.17 && <5,
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.1,
hs-source-dirs:
src
default-language: GHC2021
test-suite ghc-stack-profiler-tests
import: warnings, exts
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base,
binary,
bytestring,
ghc-stack-profiler-core,
tasty >=1.5.4 && <1.6,
tasty-hunit,
tasty-quickcheck >=0.10 && <0.12,
text >=2 && <2.2,
default-language: GHC2021
source-repository head
type: git
location: https://github.com/well-typed/ghc-stack-profiler.git
subdir: ghc-stack-profiler-core