re-export TQueue from Control.Concurrent.STM
[packages/stm.git] / stm.cabal
1 name:           stm
2 version:        2.4
3 license:        BSD3
4 license-file:   LICENSE
5 maintainer:     libraries@haskell.org
6 synopsis:       Software Transactional Memory
7 category:       Concurrency
8 description:
9  A modular composable concurrency abstraction.
10  .
11  Changes in version 2.4
12  .
13  * Added "Control.Concurrent.STM.TQueue" (a faster @TChan@)
14  .
15  * Added "Control.Concurrent.STM.TBQueue" (a bounded channel based on @TQueue@)
16  .
17  * @TChan@ has an @Eq@ instances
18  .
19  * Added @newBroadcastTChan@ and @newBroadcastTChanIO@
20  .
21  * Some performance improvements for @TChan@
22  .
23  * Added @cloneTChan@
24
25 build-type:     Simple
26 cabal-version:  >=1.6
27
28 source-repository head
29     type:     git
30     location: http://darcs.haskell.org/packages/stm.git/
31
32 flag base4
33
34 library
35   exposed-modules:
36     Control.Concurrent.STM
37     Control.Concurrent.STM.TArray
38     Control.Concurrent.STM.TVar
39     Control.Concurrent.STM.TChan
40     Control.Concurrent.STM.TMVar
41     Control.Concurrent.STM.TQueue
42     Control.Concurrent.STM.TBQueue
43     Control.Monad.STM
44   other-modules:
45     Control.Sequential.STM
46   build-depends: base < 5, array
47   if flag(base4)
48     build-depends: base >=4
49     cpp-options:   -DBASE4
50   else
51     build-depends: base <4
52   if impl(ghc >= 6.10)
53     build-depends: base >=4