File: lifted-async.cabal

package info (click to toggle)
haskell-lifted-async 0.10.2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 140 kB
  • sloc: haskell: 1,177; makefile: 2
file content (120 lines) | stat: -rw-r--r-- 2,841 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
cabal-version:       1.24
name:                lifted-async
version:             0.10.2.6
synopsis:            Run lifted IO operations asynchronously and wait for their results
homepage:            https://github.com/maoe/lifted-async
bug-reports:         https://github.com/maoe/lifted-async/issues
license:             BSD3
license-file:        LICENSE
author:              Mitsutoshi Aoe
maintainer:          Mitsutoshi Aoe <me@maoe.name>
copyright:           Copyright (C) 2012-2024 Mitsutoshi Aoe
category:            Concurrency
build-type:          Simple
tested-with:
  GHC == 9.10.1
  GHC == 9.8.2
  GHC == 9.6.6
  GHC == 9.4.8
  GHC == 9.2.8
  GHC == 9.0.2
  GHC == 8.10.7
  GHC == 8.8.4
  GHC == 8.6.5
  GHC == 8.4.4
  GHC == 8.2.2
  GHC == 8.0.2

extra-doc-files:
  README.md
  CHANGELOG.md

description:
  This package provides IO operations from @async@ package lifted to any
  instance of 'MonadBase' or 'MonadBaseControl'.

library
  exposed-modules:
    Control.Concurrent.Async.Lifted
    Control.Concurrent.Async.Lifted.Safe
  build-depends:
      base >= 4.5 && < 4.21
    , async >= 2.2 && < 2.3
    , lifted-base >= 0.2 && < 0.3
    , transformers-base >= 0.4 && < 0.5
    , monad-control == 1.0.*
  if impl(ghc >= 7.8)
    build-depends: constraints >= 0.2 && < 0.15
  else
    build-depends: constraints >= 0.2 && < 0.6
  ghc-options: -Wall
  hs-source-dirs: src
  default-language: Haskell2010

test-suite test-lifted-async
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is: TestSuite.hs
  other-modules:
    Test.Async.Common
    Test.Async.IO
    Test.Async.State
    Test.Async.Reader
  ghc-options: -Wall -threaded
  build-depends:
      base
    , HUnit
    , lifted-async
    , lifted-base
    , monad-control
    , mtl
    , tasty
    , tasty-expected-failure < 0.13
    , tasty-hunit >= 0.9 && < 0.11
    , tasty-th
  default-language: Haskell2010

test-suite regression-tests
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is: RegressionTests.hs
  ghc-options: -Wall -threaded
  build-depends:
      base
    , async
    , lifted-async
    , mtl
    , tasty-hunit >= 0.9 && < 0.11
    , tasty-th
  default-language: Haskell2010

benchmark benchmark-lifted-async
  type: exitcode-stdio-1.0
  hs-source-dirs: benchmarks
  main-is: Benchmarks.hs
  ghc-options: -Wall
  build-depends:
      base
    , async
    , tasty-bench < 0.4
    , deepseq
    , lifted-async
  default-language: Haskell2010

benchmark benchmark-lifted-async-threaded
  type: exitcode-stdio-1.0
  hs-source-dirs: benchmarks
  main-is: Benchmarks.hs
  ghc-options: -Wall -threaded
  build-depends:
      base
    , async
    , tasty-bench < 0.4
    , deepseq
    , lifted-async
  default-language: Haskell2010

source-repository head
  type: git
  branch: develop
  location: https://github.com/maoe/lifted-async.git