-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathprotobuf.cabal
135 lines (127 loc) · 3.29 KB
/
protobuf.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name: protobuf
version: 0.3.0.0
synopsis: Google Protocol Buffers via GHC.Generics
description:
Google Protocol Buffers via GHC.Generics.
.
Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.
Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.
.
This library supports a useful subset of Google Protocol Buffers message specifications
in a Haskell. No preprocessor or additional build steps are required for message encoding and decoding.
.
Record specifications are built by defining records with specially defined fields that
capture most of the Protocol Buffers specification language.
.
license: BSD3
license-file: LICENSE
extra-source-files: LICENSE.google-protobuf, LICENSE.haskell-protocol-buffers, CHANGELOG
author: Steve Severance, Nathan Howell
maintainer: [email protected], [email protected]
homepage: https://github.com/alphaHeavy/protobuf
bug-reports: https://github.com/alphaHeavy/protobuf/issues
category: Data
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
tests/Main.hs
library
default-language:
Haskell2010
hs-source-dirs:
src
exposed-modules:
Data.ProtocolBuffers
Data.ProtocolBuffers.Internal
Data.ProtocolBuffers.Orphans
Data.Binary.Builder.Sized
other-modules:
Data.ProtocolBuffers.Decode
Data.ProtocolBuffers.Encode
Data.ProtocolBuffers.Message
-- Data.ProtocolBuffers.Ppr
Data.ProtocolBuffers.Types
Data.ProtocolBuffers.Wire
build-depends:
base >= 4.7 && < 5,
base-orphans >= 0.5,
bytestring >= 0.9,
binary >= 0.7,
data-binary-ieee754 >= 0.4,
deepseq >= 1.1,
mtl == 2.*,
-- pretty,
text >= 0.10,
unordered-containers >= 0.2,
semigroups >= 0.18
ghc-options:
-Wall
-- executable protoc-gen-hs
-- default-language:
-- Haskell2010
-- hs-source-dirs:
-- plugin
-- main-is:
-- Main.hs
-- build-depends:
-- base >= 4.7 && < 5,
-- bytestring,
-- cereal,
-- ghc-prim,
-- haskell-src-exts,
-- mtl,
-- protobuf,
-- text,
-- unordered-containers
-- ghc-options:
-- -Wall
test-suite protobuf-test
default-language:
Haskell2010
hs-source-dirs:
tests
type:
exitcode-stdio-1.0
main-is:
Main.hs
build-depends:
base >= 4.7 && < 5,
bytestring,
binary,
containers,
hex,
mtl,
protobuf,
tagged,
text,
unordered-containers,
tasty,
tasty-hunit,
tasty-quickcheck,
HUnit >= 1.2,
QuickCheck >= 2.4
benchmark bench
default-language:
Haskell2010
type:
exitcode-stdio-1.0
hs-source-dirs:
bench
main-is:
Bench.hs
build-depends:
base,
criterion,
deepseq,
bytestring,
binary,
containers,
hex,
mtl,
protobuf,
tagged,
text,
unordered-containers
source-repository head
type: git
location: https://github.com/alphaHeavy/protobuf.git