cabal-version:       2.4

name:                par-dual
version:             0.1.0.0
synopsis:            ParDual class for Parallel <-> Sequential
description:         Defines a ParDual class for a Parallel <-> Sequential relationship
homepage:            https://github.com/gvolpe/par-dual
bug-reports:         https://github.com/gvolpe/par-dual/issues
license:             Apache-2.0
license-file:        LICENSE
category:            Library
author:              Gabriel Volpe
copyright:           2020 - Gabriel Volpe
maintainer:          volpegabriel@gmail.com
build-type:          Simple
extra-source-files:  README.md

library
  exposed-modules:     Control.ParDual.Class
  build-depends:       base                   >= 4.13.0 && < 4.14
                     , async                  >= 2.2.2 && < 2.3
                     , validators             >= 0.0.1 && < 0.1
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-Suite par-dual-tests
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  hs-source-dirs:      test
  build-depends:       base
                     , hedgehog
                     , par-dual
                     , refined
                     , template-haskell
                     , validators
  default-language:    Haskell2010
  ghc-options:         -Wall -threaded -with-rtsopts -N