File: cereal.cabal

package info (click to toggle)
haskell-cereal 0.5.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 160 kB
  • sloc: haskell: 1,545; makefile: 2
file content (62 lines) | stat: -rw-r--r-- 2,166 bytes parent folder | download
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
name:                   cereal
version:                0.5.3.0
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:             Trevor Elliott <trevor@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

library
        default-language:       Haskell2010

        build-depends:          bytestring >= 0.10.2.0,
                                base >= 4.4 && < 5, containers, array,
                                ghc-prim >= 0.2

        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.10.8.1,
                                QuickCheck,
                                test-framework,
                                test-framework-quickcheck2,
                                cereal

        main-is:                Main.hs
        other-modules:          RoundTrip
                                GetTests

        hs-source-dirs:         tests