Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 139 lines (124 sloc) 4.187 kb
45ab8d4 @donsbot Add -Wall -O -Werror
donsbot authored
1 name: binary
607fced @kolmodin Bump version to 0.7.4.0
authored
2 version: 0.7.4.0
45ab8d4 @donsbot Add -Wall -O -Werror
donsbot authored
3 license: BSD3
4 license-file: LICENSE
01b617e @kolmodin Update my email address
authored
5 author: Lennart Kolmodin <kolmodin@gmail.com>
e88822c @kolmodin Update Don Stewart's email address.
authored
6 maintainer: Lennart Kolmodin, Don Stewart <dons00@gmail.com>
1b7efe4 @kolmodin Update homepage and source-repository.
authored
7 homepage: https://github.com/kolmodin/binary
c3de30e @donsbot add homepage, and expand description
donsbot authored
8 description: Efficient, pure binary serialisation using lazy ByteStrings.
c238719 @bos Split Binary class into its own module
bos authored
9 Haskell values may be encoded to and from binary formats,
ac8739d @donsbot more text
donsbot authored
10 written to disk as binary, or sent over the network.
485ab9e @kolmodin More documentation.
authored
11 The format used can be automatically generated, or
12 you can choose to implement a custom format if needed.
ac8739d @donsbot more text
donsbot authored
13 Serialisation speeds of over 1 G\/sec have been observed,
14 so this library should be suitable for high performance
15 scenarios.
25cb60c @donsbot typos, spotted by Jim Teisher
donsbot authored
16 synopsis: Binary serialisation for Haskell values using lazy ByteStrings
7ae73b2 @donsbot make it sdist check clean
donsbot authored
17 category: Data, Parsing
853f477 @donsbot requires new bytestring
donsbot authored
18 stability: provisional
b651769 @dcoutts Portability fixes for ghc-6.4.2, ghc-6.6.1
dcoutts authored
19 build-type: Simple
ecaa296 @kolmodin Allow to run tests through Cabal.
authored
20 cabal-version: >= 1.8
b84dd93 @kolmodin binary.cabal: update list with which GHCs we've tested
authored
21 tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.2
a1478b3 @kolmodin Add all files to binary.cabal
authored
22 extra-source-files:
54041e7 @kolmodin Update binary.cabal about README.md's new name.
authored
23 README.md index.html docs/hcar/binary-Lb.tex
a1478b3 @kolmodin Add all files to binary.cabal
authored
24 tools/derive/*.hs tests/Makefile benchmarks/Makefile
25
26 -- from the benchmark 'bench'
27 extra-source-files:
28 benchmarks/CBenchmark.h
b651769 @dcoutts Portability fixes for ghc-6.4.2, ghc-6.6.1
dcoutts authored
29
1b7efe4 @kolmodin Update homepage and source-repository.
authored
30 source-repository head
31 type: git
32 location: git://github.com/kolmodin/binary.git
33
b651769 @dcoutts Portability fixes for ghc-6.4.2, ghc-6.6.1
dcoutts authored
34 library
989cbe8 @kolmodin Fixes to upload 0.6.1.0 to hackage.
authored
35 build-depends: base >= 3.0 && < 5, bytestring >= 0.9, containers, array
c03188f @donsbot crank up flags
donsbot authored
36 hs-source-dirs: src
b651769 @dcoutts Portability fixes for ghc-6.4.2, ghc-6.6.1
dcoutts authored
37 exposed-modules: Data.Binary,
38 Data.Binary.Put,
39 Data.Binary.Get,
9ea5261 @kolmodin Expose the Data.Binary.Get.Internal module.
authored
40 Data.Binary.Get.Internal,
e51871a @kolmodin Merge branch 'master' into cps
authored
41 Data.Binary.Builder,
741ccd7 @tibbe Expose semi-public internals
tibbe authored
42 Data.Binary.Builder.Internal
43
c238719 @bos Split Binary class into its own module
bos authored
44 other-modules: Data.Binary.Builder.Base,
45 Data.Binary.Class
37ac9a2 @donsbot Disable explicit inlining in Get.hs, GHC is smarter than we are.
donsbot authored
46
c5f6bd7 @bos Almost-working generics, with deliberate type bug
bos authored
47 if impl(ghc >= 7.2.1)
48 cpp-options: -DGENERICS
49 other-modules: Data.Binary.Generic
2f563b5 @kolmodin Fix build error for generics with ghc <= 7.6.1.
authored
50 if impl(ghc <= 7.6)
51 -- prior to ghc-7.4 generics lived in ghc-prim
52 build-depends: ghc-prim
c5f6bd7 @bos Almost-working generics, with deliberate type bug
bos authored
53
cd18a78 @donsbot tweaks
donsbot authored
54 ghc-options: -O2 -Wall -fliberate-case-threshold=1000
c03188f @donsbot crank up flags
donsbot authored
55
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
56 -- Due to circular dependency, we cannot make any of the test-suites or
57 -- benchmark depend on the binary library. Instead, for each test-suite and
58 -- benchmark, we include the source directory of binary and build-depend on all
59 -- the dependencies binary has.
60
ecaa296 @kolmodin Allow to run tests through Cabal.
authored
61 test-suite qc
62 type: exitcode-stdio-1.0
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
63 hs-source-dirs: src tests
ecaa296 @kolmodin Allow to run tests through Cabal.
authored
64 main-is: QC.hs
a1478b3 @kolmodin Add all files to binary.cabal
authored
65 other-modules:
66 Action
67 Arbitrary
e9a5e36 @kolmodin Require random-1.0.1.0 or newer.
authored
68 build-depends:
989cbe8 @kolmodin Fixes to upload 0.6.1.0 to hackage.
authored
69 base >= 3.0 && < 5,
e9a5e36 @kolmodin Require random-1.0.1.0 or newer.
authored
70 bytestring >= 0.9,
71 random>=1.0.1.0,
72 test-framework,
c35742a @kolmodin Depend on test-framework-quickcheck2 >= 0.3
authored
73 test-framework-quickcheck2 >= 0.3,
510bf8b @kolmodin Improve model tests
authored
74 QuickCheck>=2.7
ecaa296 @kolmodin Allow to run tests through Cabal.
authored
75
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
76 -- build dependencies from using binary source rather than depending on the library
77 build-depends: array, containers
510bf8b @kolmodin Improve model tests
authored
78 ghc-options: -Wall -O2 -threaded
f372f81 @kolmodin Add benchmarks to .cabal
authored
79
63f186a @kolmodin Add test for encodeFile and decodeFile.
authored
80 test-suite read-write-file
81 type: exitcode-stdio-1.0
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
82 hs-source-dirs: src tests
63f186a @kolmodin Add test for encodeFile and decodeFile.
authored
83 main-is: File.hs
84 build-depends:
85 base >= 3.0 && < 5,
86 bytestring >= 0.9,
87 Cabal,
88 directory,
89 filepath,
90 HUnit
91
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
92 -- build dependencies from using binary source rather than depending on the library
93 build-depends: array, containers
63f186a @kolmodin Add test for encodeFile and decodeFile.
authored
94 ghc-options: -Wall
95
f372f81 @kolmodin Add benchmarks to .cabal
authored
96 benchmark bench
97 type: exitcode-stdio-1.0
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
98 hs-source-dirs: src benchmarks
f372f81 @kolmodin Add benchmarks to .cabal
authored
99 main-is: Benchmark.hs
a1478b3 @kolmodin Add all files to binary.cabal
authored
100 other-modules: MemBench
f372f81 @kolmodin Add benchmarks to .cabal
authored
101 build-depends:
102 base >= 3.0 && < 5,
103 bytestring
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
104 -- build dependencies from using binary source rather than depending on the library
105 build-depends: array, containers
f372f81 @kolmodin Add benchmarks to .cabal
authored
106 c-sources: benchmarks/CBenchmark.c
107 include-dirs: benchmarks
108 ghc-options: -O2
109
110 benchmark get
111 type: exitcode-stdio-1.0
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
112 hs-source-dirs: src benchmarks
f372f81 @kolmodin Add benchmarks to .cabal
authored
113 main-is: Get.hs
114 build-depends:
638f8aa @kolmodin Update benchmark. Add cereal and attoparsec for comparison.
authored
115 attoparsec,
f372f81 @kolmodin Add benchmarks to .cabal
authored
116 base >= 3.0 && < 5,
117 bytestring,
638f8aa @kolmodin Update benchmark. Add cereal and attoparsec for comparison.
authored
118 cereal,
0508d4a @kolmodin Fix compilation issue with criterion-1.
authored
119 criterion == 1.*,
f372f81 @kolmodin Add benchmarks to .cabal
authored
120 deepseq,
121 mtl
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
122 -- build dependencies from using binary source rather than depending on the library
123 build-depends: array, containers
f372f81 @kolmodin Add benchmarks to .cabal
authored
124 ghc-options: -O2
125
126 benchmark builder
127 type: exitcode-stdio-1.0
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
128 hs-source-dirs: src benchmarks
f372f81 @kolmodin Add benchmarks to .cabal
authored
129 main-is: Builder.hs
130 build-depends:
131 base >= 3.0 && < 5,
132 bytestring,
0508d4a @kolmodin Fix compilation issue with criterion-1.
authored
133 criterion == 1.*,
f372f81 @kolmodin Add benchmarks to .cabal
authored
134 deepseq,
135 mtl
d9e361f @kolmodin In test-suites and benchmarks, depend on source
authored
136 -- build dependencies from using binary source rather than depending on the library
137 build-depends: array, containers
f372f81 @kolmodin Add benchmarks to .cabal
authored
138 ghc-options: -O2
Something went wrong with that request. Please try again.