-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathblaze-binary.cabal
88 lines (77 loc) · 3.31 KB
/
blaze-binary.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
79
80
81
82
83
84
85
86
87
88
name: blaze-binary
version: 0.1.0.0
license: BSD3
license-file: LICENSE
author: Simon Meier <iridcode@gmail.com>
maintainer: Simon Meier <iridcode@gmail.com>
category: Data
stability: experimental
build-type: Simple
cabal-version: >= 1.6
synopsis: A binary serialization library
description:
A binary serialization library, similar to binary and cereal,
but with better performance and support for inspecting the primitive stream
of values representing an encoded Haskell value.
extra-source-files:
LICENCE
source-repository head
type: git
location: git://github.com/meiersi/blaze-binary.git
flag genericBenchmarks
Description: Build the generic benchmarks (This takes some time)
Default: True
library
build-depends: base == 4.*
, bytestring >= 0.10.2
, text >= 0.11.3
, containers >= 0.5
, array >= 0.3
, ghc-prim
-- , bytestring-builder == 0.1.*
hs-source-dirs: src
exposed-modules: Codec.MsgPack
Codec.MsgPack.Encoder
ghc-options: -Wall -O2
ghc-prof-options: -prof -auto-all
if impl(ghc >= 7.2.1)
cpp-options: -DGENERICS
benchmark bench
type: exitcode-stdio-1.0
main-is: Benchmarks.hs
hs-source-dirs: bench, src
ghc-options: -Wall -O2
build-depends: base >= 4 && < 5
, ghc-prim >= 0.2
, containers >= 0.5
, array >= 0.4
, bytestring >= 0.10.2
, criterion >= 0.6
, cereal >= 0.3.5.2
-- Use the 'cps' branch from https://github.com/kolmodin/binary.git
-- for binary-0.6.0.0
, binary >= 0.7.1.0
-- The 'master' branch from git://github.com/meiersi/bytestring-builder.git
-- , bytestring-builder >= 0.1 && < 0.2
, deepseq >= 1.3
, primitive >= 0.4
, attoparsec >= 0.10
-- benchmark bench-generic
-- type: exitcode-stdio-1.0
-- main-is: GenericBenchmarks.hs
-- hs-source-dirs: bench, src
-- ghc-options: -Wall -O2
-- build-depends: base >= 4 && < 5
-- , ghc-prim >= 0.2 && < 0.3
-- , containers >= 0.4 && < 0.5
-- , array >= 0.4 && < 0.5
-- , bytestring >= 0.9 && < 0.10
-- , criterion >= 0.6 && < 0.7
-- , bytestring-builder >= 0.1 && < 0.2
-- , deepseq >= 1.3 && < 1.4
-- , primitive >= 0.4 && < 0.5
--
-- if impl(ghc >= 7.2.1) && flag(genericBenchmarks)
-- cpp-options: -DGENERICS
-- else
-- buildable: False