packages feed

thread-utils-context-0.3.0.3: thread-utils-context.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack

name:           thread-utils-context
version:        0.3.0.3
synopsis:       Garbage-collected thread local storage
description:    Please see the README on GitHub at <https://github.com/iand675/thread-utils-context#readme>
category:       Concurrency
homepage:       https://github.com/iand675/thread-utils#readme
bug-reports:    https://github.com/iand675/thread-utils/issues
author:         Ian Duncan
maintainer:     ian@iankduncan.com
copyright:      2023 Ian Duncan
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/iand675/thread-utils

flag debug
  description: Whether to enable some additional hooks to debug issues
  manual: True
  default: False

library
  exposed-modules:
      Control.Concurrent.Thread.Storage
  other-modules:
      Paths_thread_utils_context
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , containers
    , ghc-prim
    , thread-utils-finalizers
  default-language: Haskell2010
  if flag(debug)
    cpp-options: -DDEBUG_HOOKS

test-suite thread-utils-context-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_thread_utils_context
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , containers
    , ghc-prim
    , hspec
    , hspec-expectations
    , thread-utils-context
    , thread-utils-finalizers
  default-language: Haskell2010