-
Notifications
You must be signed in to change notification settings - Fork 86
/
ouroboros-network-framework.cabal
197 lines (175 loc) · 7.54 KB
/
ouroboros-network-framework.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
194
195
196
197
cabal-version: >=1.10
-- Initial package description 'typed-protocols-testing.cabal' generated by
-- 'cabal init'. For further documentation, see
-- http://haskell.org/cabal/users-guide/
name: ouroboros-network-framework
version: 0.1.0.0
-- synopsis:
-- description:
-- bug-reports:
license: Apache-2.0
license-files:
LICENSE
NOTICE
copyright: 2019 Input Output (Hong Kong) Ltd.
author: Alexander Vieth, Duncan Coutts, Marcin Szamotulski
maintainer: alex@well-typed.com, duncan@well-typed.com, marcin.szamotulski@iohk.io
-- category:
build-type: Simple
extra-source-files: CHANGELOG.md
library
exposed-modules: Ouroboros.Network.CodecCBORTerm
Ouroboros.Network.Channel
Ouroboros.Network.Driver
Ouroboros.Network.Driver.Simple
Ouroboros.Network.Driver.Limits
Ouroboros.Network.ErrorPolicy
Ouroboros.Network.IOManager
Ouroboros.Network.Mux
Ouroboros.Network.MuxMode
Ouroboros.Network.Util.ShowProxy
Ouroboros.Network.Protocol.Handshake
Ouroboros.Network.Protocol.Handshake.Type
Ouroboros.Network.Protocol.Handshake.Codec
Ouroboros.Network.Protocol.Handshake.Client
Ouroboros.Network.Protocol.Handshake.Server
Ouroboros.Network.Protocol.Handshake.Version
Ouroboros.Network.Protocol.Handshake.Unversioned
Ouroboros.Network.Protocol.Limits
Ouroboros.Network.ConnectionId
Ouroboros.Network.ConnectionHandler
Ouroboros.Network.ConnectionManager.Types
Ouroboros.Network.ConnectionManager.Core
Ouroboros.Network.InboundGovernor
Ouroboros.Network.InboundGovernor.Event
Ouroboros.Network.InboundGovernor.State
Ouroboros.Network.InboundGovernor.ControlChannel
Ouroboros.Network.RethrowPolicy
Ouroboros.Network.Server.ConnectionTable
Ouroboros.Network.Server.Socket
Ouroboros.Network.Server.RateLimiting
Ouroboros.Network.Server2
Ouroboros.Network.Snocket
Ouroboros.Network.Socket
Ouroboros.Network.Subscription
Ouroboros.Network.Subscription.Client
Ouroboros.Network.Subscription.Dns
Ouroboros.Network.Subscription.Ip
Ouroboros.Network.Subscription.PeerState
Ouroboros.Network.Subscription.Subscriber
Ouroboros.Network.Subscription.Worker
other-modules: Ouroboros.Network.Linger
-- other-extensions:
build-depends: base >=4.12 && <4.15
, async >=2.1 && <2.3
, bytestring >=0.10 && <0.11
, cborg >=0.2.1 && <0.3
, containers >=0.5 && <0.7
, dns < 4.0
, iproute >=1.7 && < 1.8
, hashable
, mtl
, nothunks
, random
, stm
, text
, time
, quiet
, cardano-prelude
, contra-tracer
, io-classes >=0.1 && < 0.3
, monoidal-synchronisation
>=0.1 && < 0.2
, network >=3.1.2 && < 3.2
, network-mux >=0.1 && < 0.2
, typed-protocols >=0.1 && < 0.2
, typed-protocols-cborg >=0.1 && < 0.2
, Win32-network >=0.1 && < 0.2
if os(windows)
build-depends: Win32 >= 2.5.4.1 && <3.0
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wpartial-fields
-Widentities
-Wredundant-constraints
-Wno-unticked-promoted-constructors
test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules: Test.Ouroboros.Network.ConnectionManager
Test.Ouroboros.Network.Driver
Test.Ouroboros.Network.Orphans
Test.Ouroboros.Network.Server2
Test.Ouroboros.Network.Socket
Test.Ouroboros.Network.Subscription
Test.Ouroboros.Network.RateLimiting
build-depends: base
, bytestring
, cborg
, containers
, directory
, dns
, iproute
, network
, serialise
, time
, quiet
, QuickCheck
, tasty
, tasty-quickcheck
, cardano-prelude
, contra-tracer
, io-sim
, io-classes
, network-mux
, ouroboros-network-framework
, ouroboros-network-testing
, typed-protocols
, typed-protocols-cborg
, typed-protocols-examples
if os(windows)
build-depends: Win32-network <0.2,
Win32 >=2.5.4.1 && <3.0
default-language: Haskell2010
ghc-options: -rtsopts
-threaded
-Wall
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wpartial-fields
-Widentities
-Wredundant-constraints
-Wno-unticked-promoted-constructors
executable demo-ping-pong
hs-source-dirs: demo test
main-is: ping-pong.hs
build-depends: base,
async,
bytestring,
cborg,
directory,
contra-tracer,
io-classes,
network-mux,
ouroboros-network-framework,
typed-protocols,
typed-protocols-examples
if os(windows)
build-depends: Win32-network <0.2,
Win32 >=2.5.4.1 && <3.0
default-language: Haskell2010
ghc-options: -Wall
-threaded
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wpartial-fields
-Widentities
-Wredundant-constraints
-Wno-unticked-promoted-constructors