parent
95777e4681
commit
9b2bfa205e
@ -0,0 +1,79 @@
|
||||
name: cereal
|
||||
version: 0.5.8.2
|
||||
x-revision: 1
|
||||
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 && < 4.17, 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
|
@ -1 +1 @@
|
||||
SHA512 (cereal-0.5.8.1.tar.gz) = aced40e81301fbc73c6029be2c4045cf63f81d40361d5939713f3d60db196dc25a70e556e9e74e194e6a3b6cac86997d2bfc8b1f91c630676af7d066268a25b4
|
||||
SHA512 (cereal-0.5.8.2.tar.gz) = c9767b1508931b6f4f4555a813a4ef8338d728c26556f25201d977f8e4eec918aaec1561fd7996b1bb2c7375b57880d49ab9fc3a4ceeae5a629397ab4b9953a2
|
||||
|
Loading…
Reference in new issue