unliftio-messagebox 1.0.0 → 1.0.2
raw patch · 2 files changed
+18/−27 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- src-test/Main.hs +0/−2
- unliftio-messagebox.cabal +18/−25
src-test/Main.hs view
@@ -7,7 +7,6 @@ import qualified FreshTest import qualified LimitedMessageBoxTest import qualified MessageBoxClassTest-import qualified ProtocolsTest import System.Environment (setEnv) import Test.Tasty ( TestTree,@@ -35,6 +34,5 @@ MessageBoxClassTest.test, LimitedMessageBoxTest.test, UnlimitedMessageBoxTest.test,- ProtocolsTest.test, FreshTest.test ]
unliftio-messagebox.cabal view
@@ -1,13 +1,13 @@ cabal-version: 3.0 name: unliftio-messagebox-version: 1.0.0+version: 1.0.2 description: Please see the README on GitHub at <https://github.com/sheyll/unliftio-messagebox#readme> synopsis: Fast and robust message queues for concurrent processes homepage: https://github.com/sheyll/unliftio-messagebox#readme bug-reports: https://github.com/sheyll/unliftio-messagebox/issues author: Sven Heyll maintainer: sven.heyll@gmail.com-category: Concurrency, Control, Effect+category: Concurrency tested-with: GHC==8.10.2,GHC==8.10.3 copyright: Copyright Sven Heyll license: BSD-2-Clause@@ -21,16 +21,19 @@ type: git location: https://github.com/sheyll/unliftio-messagebox +flag development+ description: + Configure a development version, i.e. -fprof-auto and -Werror+ default: False+ manual: True+ common executable-flags ghc-options: -threaded- -O2 "-with-rtsopts=-T -N -qa"- ghc-prof-options: - -threaded- -O2- -fprof-auto - "-with-rtsopts=-T -xt -xc -Pa -hc -L256"+ if flag(development)+ ghc-prof-options: + "-with-rtsopts=-T -xt -xc -Pa -hc -L256" common compiler-flags ghc-options:@@ -44,8 +47,13 @@ -Wpartial-fields -Wmissing-deriving-strategies -funbox-strict-fields- -Wno-missing-signatures - -- -Werror+ -Wno-missing-signatures + if flag(development)+ ghc-options:+ -O2+ -Werror+ ghc-prof-options:+ -fprof-auto default-extensions: AllowAmbiguousTypes, BangPatterns,@@ -122,21 +130,6 @@ default-language: Haskell2010 hs-source-dirs: src- ghc-options:- -Wall- -Wcompat- -Widentities- -Wincomplete-uni-patterns- -Wincomplete-record-updates- -Wredundant-constraints- -Wmissing-export-lists- -Wpartial-fields- -Wmissing-deriving-strategies- -funbox-strict-fields- -O2- -- -Werror- ghc-prof-options: - -fprof-auto exposed-modules: UnliftIO.MessageBox, UnliftIO.MessageBox.CatchAll,