-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathcereal.cabal
78 lines (60 loc) · 2.7 KB
/
cereal.cabal
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
name: cereal
version: 0.5.8.3
license: BSD3
license-file: LICENSE
author: Lennart Kolmodin <kolmodin@dtek.chalmers.se>,
Galois Inc.,
Lemmih <lemmih@gmail.com>,
Bas van Dijk <v.dijk.bas@gmail.com>
maintainer: Eric Mertens <emertens@galois.com>
category: Data, Parsing
stability: provisional
build-type: Simple
cabal-version: >= 1.10
synopsis: A binary serialization library
homepage: https://github.com/GaloisInc/cereal
tested-with: GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2
description:
A binary serialization library, similar to binary, that introduces an isolate
primitive for parser isolation, and labeled blocks for better error messages.
extra-source-files: CHANGELOG.md
source-repository head
type: git
location: git://github.com/GaloisInc/cereal.git
flag bytestring-builder
description:
Decides whether to use an older version of bytestring along with bytestring-builder or just a newer version of bytestring.
.
This flag normally toggles automatically but you can use `-fbytestring-builder` or `-f-bytestring-builder` to explicitly change it.
default: False
manual: False
library
default-language: Haskell2010
build-depends: base >= 4.4 && < 5, containers, array,
ghc-prim >= 0.2
if !impl(ghc >= 8.0)
build-depends: fail == 4.9.*
if flag(bytestring-builder)
build-depends: bytestring >= 0.9 && < 0.10.4,
bytestring-builder >= 0.10.4 && < 1
else
build-depends: bytestring >= 0.10.4 && < 1
hs-source-dirs: src
exposed-modules: Data.Serialize,
Data.Serialize.Put,
Data.Serialize.Get,
Data.Serialize.IEEE754
ghc-options: -Wall -O2 -funbox-strict-fields
test-suite test-cereal
default-language: Haskell2010
type: exitcode-stdio-1.0
build-depends: base == 4.*,
bytestring >= 0.9,
QuickCheck,
test-framework,
test-framework-quickcheck2,
cereal
main-is: Main.hs
other-modules: RoundTrip
GetTests
hs-source-dirs: tests