@@ -16,60 +16,54 @@ tested-with: GHC == {9.6, 9.8, 9.10, 9.12}
1616extra-doc-files : CHANGELOG.md
1717 README.md
1818
19+ common warnings
20+ ghc-options : -Wall
21+ -Wno-unticked-promoted-constructors
22+ -Wcompat
23+ -Wincomplete-uni-patterns
24+ -Wincomplete-record-updates
25+ -Wpartial-fields
26+ -Widentities
27+ -Wredundant-constraints
28+
1929library
20- exposed-modules : Network.TypedProtocol
21- , Network.TypedProtocol.Core
22- , Network.TypedProtocol.Peer
23- , Network.TypedProtocol.Peer.Client
24- , Network.TypedProtocol.Peer.Server
25- , Network.TypedProtocol.Codec
26- , Network.TypedProtocol.Driver
27- , Network.TypedProtocol.Proofs
28- other-modules : Network.TypedProtocol.Lemmas
29- build-depends : base >= 4.12 && < 4.22 ,
30- io-classes :io-classes ^ >= 1.8 ,
31- singletons ^>= 3.0
32-
33- hs-source-dirs : src
34- default-language : GHC2021
30+ import : warnings
31+ exposed-modules : Network.TypedProtocol
32+ , Network.TypedProtocol.Core
33+ , Network.TypedProtocol.Peer
34+ , Network.TypedProtocol.Peer.Client
35+ , Network.TypedProtocol.Peer.Server
36+ , Network.TypedProtocol.Codec
37+ , Network.TypedProtocol.Driver
38+ , Network.TypedProtocol.Proofs
39+ other-modules : Network.TypedProtocol.Lemmas
40+ build-depends : base >= 4.12 && < 4.22 ,
41+ io-classes :io-classes ^>= 1.8 ,
42+ singletons ^ >= 3.0
43+ hs-source-dirs : src
44+ default-language : GHC2021
3545 default-extensions : DataKinds
3646 GADTs
3747 LambdaCase
38- ghc-options : -Wall
39- -Wno-unticked-promoted-constructors
40- -Wcompat
41- -Wincomplete-uni-patterns
42- -Wincomplete-record-updates
43- -Wpartial-fields
44- -Widentities
45- -Wredundant-constraints
4648
4749library cborg
48- visibility : public
49- exposed-modules : Network.TypedProtocol.Codec.CBOR
50-
51- build-depends : base,
52- bytestring >= 0.10 && < 0.13 ,
53- cborg >= 0.2.1 && < 0.3 ,
54- singletons,
55- primitive,
56-
57- io-classes :io-classes,
58- typed-protocols :typed-protocols
50+ import : warnings
51+ visibility : public
52+ exposed-modules : Network.TypedProtocol.Codec.CBOR
53+ build-depends : base,
54+ bytestring >= 0.10 && < 0.13 ,
55+ cborg >= 0.2.1 && < 0.3 ,
56+ singletons,
57+ primitive,
5958
60- hs-source-dirs : cborg
61- default-language : GHC2021
59+ io-classes :io-classes,
60+ typed-protocols :typed-protocols
61+ hs-source-dirs : cborg
62+ default-language : GHC2021
6263 default-extensions : LambdaCase
63- ghc-options : -Wall
64- -Wno-unticked-promoted-constructors
65- -Wcompat
66- -Wincomplete-uni-patterns
67- -Wincomplete-record-updates
68- -Wpartial-fields
69- -Widentities
70- -Wredundant-constraints
7164
7265library stateful
66+ import : warnings
7367 visibility : public
7468 exposed-modules : Network.TypedProtocol.Stateful.Peer
7569 , Network.TypedProtocol.Stateful.Peer.Client
@@ -81,117 +75,92 @@ library stateful
8175 singletons,
8276 io-classes :io-classes,
8377 typed-protocols :typed-protocols
84-
8578 hs-source-dirs : stateful
8679 default-language : GHC2021
8780 default-extensions : DataKinds
8881 GADTs
8982 ImportQualifiedPost
90- ghc-options : -Wall
91- -Wno-unticked-promoted-constructors
92- -Wcompat
93- -Wincomplete-uni-patterns
94- -Wincomplete-record-updates
95- -Wpartial-fields
96- -Widentities
97- -Wredundant-constraints
9883
9984library stateful-cborg
100- visibility : public
101- exposed-modules : Network.TypedProtocol.Stateful.Codec.CBOR
102-
103- build-depends : base,
104- bytestring,
105- cborg,
106- singletons,
85+ import : warnings
86+ visibility : public
87+ exposed-modules : Network.TypedProtocol.Stateful.Codec.CBOR
10788
108- io-classes :io-classes,
109- typed-protocols :{typed-protocols,cborg,stateful}
89+ build-depends : base,
90+ bytestring,
91+ cborg,
92+ singletons,
11093
111- hs-source-dirs : stateful-cborg
112- default-language : GHC2021
94+ io-classes :io-classes,
95+ typed-protocols :{typed-protocols,cborg,stateful}
96+ hs-source-dirs : stateful-cborg
97+ default-language : GHC2021
11398 default-extensions : ImportQualifiedPost
114- ghc-options : -Wall
115- -Wno-unticked-promoted-constructors
116- -Wcompat
117- -Wincomplete-uni-patterns
118- -Wincomplete-record-updates
119- -Wpartial-fields
120- -Widentities
121- -Wredundant-constraints
12299
123100library examples
124- visibility : public
125- exposed-modules : Network.TypedProtocol.Channel
126- , Network.TypedProtocol.Driver.Simple
127-
128- , Network.TypedProtocol.PingPong.Type
129- , Network.TypedProtocol.PingPong.Client
130- , Network.TypedProtocol.PingPong.Server
131- , Network.TypedProtocol.PingPong.Codec
132- , Network.TypedProtocol.PingPong.Codec.CBOR
133- , Network.TypedProtocol.PingPong.Examples
134-
135- , Network.TypedProtocol.ReqResp.Type
136- , Network.TypedProtocol.ReqResp.Client
137- , Network.TypedProtocol.ReqResp.Server
138- , Network.TypedProtocol.ReqResp.Codec
139- , Network.TypedProtocol.ReqResp.Codec.CBOR
140- , Network.TypedProtocol.ReqResp.Examples
141-
142- , Network.TypedProtocol.ReqResp2.Type
143- , Network.TypedProtocol.ReqResp2.Client
144-
145- , Network.TypedProtocol.Stateful.ReqResp.Type
146- , Network.TypedProtocol.Stateful.ReqResp.Client
147- , Network.TypedProtocol.Stateful.ReqResp.Server
148- , Network.TypedProtocol.Stateful.ReqResp.Codec
149- , Network.TypedProtocol.Stateful.ReqResp.Examples
150-
151- , Network.TypedProtocol.Trans.Wedge
152- build-depends : base,
153- bytestring ,
154- cborg ,
155- serialise ,
156- singletons ,
157- contra-tracer ,
158- io-classes :{io-classes, si-timers} ,
159- network ,
160- time ,
161- typed-protocols :{typed-protocols,cborg,stateful}
162-
163- hs-source-dirs : examples
164- default-language : GHC2021
101+ import : warnings
102+ visibility : public
103+ exposed-modules : Network.TypedProtocol.Channel
104+ , Network.TypedProtocol.Driver.Simple
105+
106+ , Network.TypedProtocol.PingPong.Type
107+ , Network.TypedProtocol.PingPong.Client
108+ , Network.TypedProtocol.PingPong.Server
109+ , Network.TypedProtocol.PingPong.Codec
110+ , Network.TypedProtocol.PingPong.Codec.CBOR
111+ , Network.TypedProtocol.PingPong.Examples
112+
113+ , Network.TypedProtocol.ReqResp.Type
114+ , Network.TypedProtocol.ReqResp.Client
115+ , Network.TypedProtocol.ReqResp.Server
116+ , Network.TypedProtocol.ReqResp.Codec
117+ , Network.TypedProtocol.ReqResp.Codec.CBOR
118+ , Network.TypedProtocol.ReqResp.Examples
119+
120+ , Network.TypedProtocol.ReqResp2.Type
121+ , Network.TypedProtocol.ReqResp2.Client
122+
123+ , Network.TypedProtocol.Stateful.ReqResp.Type
124+ , Network.TypedProtocol.Stateful.ReqResp.Client
125+ , Network.TypedProtocol.Stateful.ReqResp.Server
126+ , Network.TypedProtocol.Stateful.ReqResp.Codec
127+ , Network.TypedProtocol.Stateful.ReqResp.Examples
128+
129+ , Network.TypedProtocol.Trans.Wedge
130+ build-depends : base ,
131+ bytestring ,
132+ cborg ,
133+ serialise ,
134+ singletons ,
135+ contra-tracer ,
136+ io-classes :{io-classes, si-timers} ,
137+ network ,
138+ time,
139+ typed-protocols :{typed-protocols,cborg,stateful}
140+ hs-source-dirs : examples
141+ default-language : GHC2021
165142 default-extensions : DataKinds
166143 GADTs
167144 LambdaCase
168- ghc-options : -Wall
169- -Wno-unticked-promoted-constructors
170- -Wcompat
171- -Wincomplete-uni-patterns
172- -Wincomplete-record-updates
173- -Wpartial-fields
174- -Widentities
175- -Wredundant-constraints
176145
177146test-suite test
178- type : exitcode-stdio-1.0
179- main-is : Main.hs
180- hs-source-dirs : test
181- default-language : GHC2021
147+ type : exitcode-stdio-1.0
148+ main-is : Main.hs
149+ hs-source-dirs : test
150+ default-language : GHC2021
182151 default-extensions : GADTs
183152 LambdaCase
184- other-modules : Network.TypedProtocol.PingPong.Tests
185- , Network.TypedProtocol.ReqResp.Tests
186- build-depends : base
187- , bytestring
188- , contra-tracer
189- , typed-protocols :{typed-protocols,cborg,examples}
190- , io-classes :{io-classes,si-timers}
191- , io-sim
192- , QuickCheck
193- , tasty
194- , tasty-quickcheck
153+ other-modules : Network.TypedProtocol.PingPong.Tests
154+ , Network.TypedProtocol.ReqResp.Tests
155+ build-depends : base
156+ , bytestring
157+ , contra-tracer
158+ , typed-protocols :{typed-protocols,cborg,examples}
159+ , io-classes :{io-classes,si-timers}
160+ , io-sim
161+ , QuickCheck
162+ , tasty
163+ , tasty-quickcheck
195164
196165 if !os(windows)
197166 build-depends : directory
0 commit comments