summaryrefslogtreecommitdiff
path: root/bytes.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'bytes.cabal')
-rw-r--r--bytes.cabal23
1 files changed, 13 insertions, 10 deletions
diff --git a/bytes.cabal b/bytes.cabal
index debb7ea..98ca056 100644
--- a/bytes.cabal
+++ b/bytes.cabal
@@ -1,6 +1,6 @@
name: bytes
category: Data, Serialization
-version: 0.15.2
+version: 0.15.3
license: BSD3
cabal-version: >= 1.8
license-file: LICENSE
@@ -11,7 +11,7 @@ homepage: https://github.com/ekmett/bytes
bug-reports: https://github.com/ekmett/bytes/issues
copyright: Copyright (C) 2013-2015 Edward A. Kmett
build-type: Custom
-tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2
+tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.1
synopsis: Sharing code for serialization between binary and cereal
description: Sharing code for serialization between binary and cereal
@@ -37,6 +37,14 @@ flag test-doctests
default: True
manual: True
+custom-setup
+ -- any should do
+ setup-depends:
+ base >= 4.5 && <5,
+ Cabal >= 1.14,
+ cabal-doctest >= 1 && <1.1
+
+
library
build-depends:
base >= 4.5 && < 5,
@@ -47,7 +55,7 @@ library
hashable >= 1.0.1.1 && < 1.4,
mtl >= 2.0 && < 2.3,
text >= 0.2 && < 1.3,
- time >= 1.2 && < 1.7,
+ time >= 1.2 && < 1.9,
transformers >= 0.2 && < 0.6,
transformers-compat >= 0.3 && < 1,
unordered-containers >= 0.2 && < 0.3,
@@ -57,11 +65,6 @@ library
if impl(ghc >= 7.4 && < 7.6)
build-depends: ghc-prim
- -- hack around the buggy unused matches check for class associated types in ghc 8 rc1
- if impl(ghc >= 8)
- ghc-options: -fno-warn-unused-matches
-
-
exposed-modules:
Data.Bytes.Get
Data.Bytes.Put
@@ -79,12 +82,12 @@ test-suite doctests
ghc-options: -Wall -threaded
hs-source-dirs: tests
- if !flag(test-doctests) || impl(ghc >= 8)
+ if !flag(test-doctests)
buildable: False
else
build-depends:
base,
bytes,
directory >= 1.0,
- doctest >= 0.9.1,
+ doctest >= 0.11.1 && <0.12,
filepath >= 1.2