revise .cabal

This commit is contained in:
Jens Petersen 2021-08-04 22:29:11 +08:00
parent 260b397207
commit 524c0b83f7
1 changed files with 34 additions and 34 deletions

View File

@ -1,34 +1,34 @@
Name: SafeSemaphore Name: SafeSemaphore
Version: 0.10.1 Version: 0.10.1
x-revision: 1 x-revision: 1
Synopsis: Much safer replacement for QSemN, QSem, and SampleVar Synopsis: Much safer replacement for QSemN, QSem, and SampleVar
Description: This provides a much safer semaphore than the QSem, QSemN, SampleVar in base. Description: This provides a much safer semaphore than the QSem, QSemN, SampleVar in base.
Those base modules are not exception safe and can be broken by killThread. Those base modules are not exception safe and can be broken by killThread.
See <https://github.com/ChrisKuklewicz/SafeSemaphore> for more details. See <https://github.com/ChrisKuklewicz/SafeSemaphore> for more details.
Homepage: https://github.com/ChrisKuklewicz/SafeSemaphore Homepage: https://github.com/ChrisKuklewicz/SafeSemaphore
License: BSD3 License: BSD3
License-file: LICENSE License-file: LICENSE
Author: Chris Kuklewicz <haskell@list.mightyreason.com> Author: Chris Kuklewicz <haskell@list.mightyreason.com>
Maintainer: Chris Kuklewicz <haskell@list.mightyreason.com> Maintainer: Chris Kuklewicz <haskell@list.mightyreason.com>
Category: Concurrency Category: Concurrency
Build-type: Simple Build-type: Simple
Cabal-version: >=1.8 Cabal-version: >=1.8
Library Library
Hs-Source-Dirs: src Hs-Source-Dirs: src
ghc-options: -Wall -O2 -funbox-strict-fields ghc-options: -Wall -O2 -funbox-strict-fields
Exposed-modules: Control.Concurrent.MSem Exposed-modules: Control.Concurrent.MSem
Control.Concurrent.MSemN Control.Concurrent.MSemN
Control.Concurrent.MSemN2 Control.Concurrent.MSemN2
Control.Concurrent.MSampleVar Control.Concurrent.MSampleVar
Control.Concurrent.FairRWLock Control.Concurrent.FairRWLock
Control.Concurrent.SSem Control.Concurrent.SSem
Control.Concurrent.STM.SSem Control.Concurrent.STM.SSem
Other-modules: Control.Concurrent.STM.SSemInternals Other-modules: Control.Concurrent.STM.SSemInternals
Build-depends: base >=4.4 && <5, containers, stm Build-depends: base >=4.4 && <5, containers, stm
Test-Suite TestSafeSemaphore Test-Suite TestSafeSemaphore
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: tests/TestKillSem.hs main-is: tests/TestKillSem.hs
build-depends: base < 5, SafeSemaphore, HUnit build-depends: base < 5, SafeSemaphore, HUnit