-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzre.cabal
193 lines (180 loc) · 5.89 KB
/
zre.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
name: zre
version: 0.1.5.1
synopsis: ZRE protocol implementation
description: Peer-to-peer local area networking with reliable group messaging
and automatic peer discovery.
ZRE protocol implementation according to https://rfc.zeromq.org/spec:36/ZRE/
homepage: https://github.com/sorki/haskell-zre/
license: BSD3
license-file: LICENSE
author: Richard Marko
maintainer: srk@48.io
copyright: 2020 Richard Marko
category: Networking
build-type: Simple
cabal-version: 2.0
extra-source-files:
CHANGELOG.md
README.md
zre.conf
flag examples
default:
False
description:
Builds example applications
library
hs-source-dirs: src
exposed-modules: Network.ZRE
, Network.ZRE.Beacon
, Network.ZRE.Chan
, Network.ZRE.Config
, Network.ZRE.Lib
, Network.ZRE.Options
, Network.ZRE.Parse
, Network.ZRE.Peer
, Network.ZRE.Utils
, Network.ZRE.Types
, Network.ZRE.ZMQ
, Network.ZGossip
, Network.ZGossip.ZMQ
, Network.ZGossip.Types
, Data.ZRE
, Data.ZMQParse
, Data.ZGossip
, System.ZMQ4.Endpoint
build-depends: base >= 4 && < 5
, async
, lifted-async
, lifted-base
, attoparsec ^>= 0.14
, cereal
, data-default
, network ^>= 3.1
, network-bsd ^>= 2.8
, network-info ^>= 0.2
, network-multicast ^>= 0.3
, binary >= 0.8
, bytestring
, containers
, directory
, filepath
, mtl
, monad-control
, optparse-applicative
, transformers-base
, sockaddr
, process
, random
, text
, stm
, time
, uuid
, zeromq4-haskell ^>= 0.8
default-language: Haskell2010
ghc-options: -Wall
executable zre
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, bytestring
, async
, lifted-async
, repline ^>= 0.4
, stm
, zre
default-language: Haskell2010
executable mzre
if !flag(examples)
buildable: False
hs-source-dirs: app
main-is: Monadic.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, bytestring
, mtl
, stm
, lifted-async
, zre
default-language: Haskell2010
executable zreworker
if !flag(examples)
buildable: False
hs-source-dirs: app
main-is: Worker.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, async
, bytestring
, mtl
, monad-control
, lifted-async
, zre
default-language: Haskell2010
executable zgossip-server
hs-source-dirs: app
main-is: ZGossipSrv.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, async
, bytestring
, mtl
, monad-control
, lifted-async
, zre
default-language: Haskell2010
executable zrematch
if !flag(examples)
buildable: False
hs-source-dirs: app
main-is: Match.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, async
, bytestring
, mtl
, monad-control
, lifted-async
, zre
default-language: Haskell2010
executable zretime
hs-source-dirs: app
main-is: Time.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, bytestring
, time
, lifted-async
, zre
default-language: Haskell2010
executable zrecat
hs-source-dirs: app
main-is: Cat.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, bytestring
, optparse-applicative
, time
, lifted-async
, zre
default-language: Haskell2010
test-suite zre-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Arbitrary
, Binary
, Endpoint
, ZGossip
, ZRE
build-depends: base
, bytestring
, zre
, QuickCheck
, quickcheck-instances
, uuid
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/sorki/haskell-zre