-
Notifications
You must be signed in to change notification settings - Fork 30
/
proto3-wire.cabal
106 lines (92 loc) · 2.54 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
cabal-version: >=1.10
name: proto3-wire
version: 1.4.3
synopsis: A low-level implementation of the Protocol Buffers (version 3) wire format
license: Apache-2.0
license-file: LICENSE
author: Arista Networks <[email protected]>
maintainer: Arista Networks <[email protected]>
copyright: 2017 Awake Security, 2021 Arista Networks
category: Codec
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/awakesecurity/proto3-wire
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options:
-O2
-fobject-code
-Wall
-- 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
build-depends:
base >=4.12 && <=5.0
, bytestring >=0.10.6.0 && <0.13.0
, cereal >= 0.5.1 && <0.6
, containers >=0.5 && < 0.8
, deepseq >=1.4 && <1.6
, hashable <1.5
, parameterized >=0.5.0.0 && <1
, primitive >=0.6.4 && <0.10
, safe ==0.3.*
, template-haskell >= 2.15.0 && < 2.23
, text >= 0.2 && <2.2
, text-short ==0.1.*
, transformers >=0.5.6.2 && <0.7
, unordered-containers >= 0.1.0.0 && <0.3
, vector >=0.12.0.2 && <0.14
, QuickCheck >=2.8 && <3.0
, word-compat >= 0.0.6
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
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.13.0
, cereal >= 0.5.1 && <0.6
, doctest >= 0.7.0 && <0.23.0
, proto3-wire
, QuickCheck >=2.8 && <3.0
, tasty >= 0.11 && <1.6
, tasty-hunit >= 0.9 && <0.11
, tasty-quickcheck >= 0.8.4 && <0.11
, text >= 0.2 && <2.2
, text-short ==0.1.*
, transformers >=0.5.6.2 && <0.7
, vector >=0.12.0.2 && <0.14
benchmark bench
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Main.hs
ghc-options:
-O2
-Wall
build-depends:
base >= 4 && < 5
, bytestring
, criterion
, proto3-wire
, random