forked from awakesecurity/proto3-wire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proto3-wire.cabal
79 lines (74 loc) · 3.11 KB
/
proto3-wire.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
name: proto3-wire
version: 1.4.1
synopsis: A low-level implementation of the Protocol Buffers (version 3) wire format
license: Apache-2.0
license-file: LICENSE
author: Awake Networks
maintainer: [email protected]
copyright: 2016 Awake Networks
category: Codec
build-type: Simple
cabal-version: >=1.10
extra-source-files: CHANGELOG.md
library
ghc-options:
exposed-modules: Proto3.Wire
Proto3.Wire.Builder
Proto3.Wire.Class
Proto3.Wire.Decode
Proto3.Wire.Encode
Proto3.Wire.Reverse
Proto3.Wire.Reverse.Prim
Proto3.Wire.Tutorial
Proto3.Wire.Types
Proto3.Wire.Reverse.Internal
other-modules: Proto3.Wire.Reverse.Width
build-depends: base >=4.12 && <=5.0,
bytestring >=0.10.6.0 && <0.12.0,
cereal >= 0.5.1 && <0.6,
containers >=0.5 && < 0.7,
deepseq ==1.4.*,
ghc-prim >=0.5.3 && <0.9,
hashable <1.5,
parameterized >=0.5.0.0 && <1,
primitive >=0.6.4 && <0.8,
safe ==0.3.*,
text >= 0.2 && <1.3,
text-short ==0.1.*,
transformers >=0.5.6.2 && <0.6,
unordered-containers >= 0.1.0.0 && <0.3,
vector >=0.12.0.2 && <0.13,
QuickCheck >=2.8 && <3.0,
word-compat >= 0.0.2 && <0.1
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -O2 -Wall -fobject-code
-- Add any other architectures on which an unaligned poke of a multibyte
-- value would succeed and be faster than writing the bytes one by one.
if arch(x86_64) || arch(i386)
cpp-options: -DUNALIGNED_POKES
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
default-language: Haskell2010
build-depends: base >=4.9 && <=5.0,
bytestring >=0.10.6.0 && <0.12.0,
cereal >= 0.5.1 && <0.6,
doctest >= 0.7.0 && <0.21.0,
proto3-wire,
QuickCheck >=2.8 && <3.0,
tasty >= 0.11 && <1.5,
tasty-hunit >= 0.9 && <0.11,
tasty-quickcheck >= 0.8.4 && <0.11,
text >= 0.2 && <1.3,
text-short ==0.1.*,
transformers >=0.5.6.2 && <0.6,
vector >=0.12.0.2 && <0.13
benchmark bench
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends: base >= 4 && < 5, bytestring, random, criterion, proto3-wire
hs-source-dirs: bench
ghc-options: -O2 -Wall
default-language: Haskell2010