File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!--
2+ A new scriv changelog fragment.
3+
4+ Uncomment the section that is right (remove the HTML comment wrapper).
5+ For top level release notes, leave all the headers commented out.
6+ -->
7+
8+ <!--
9+ ### Breaking
10+
11+ - A bullet item for the Breaking category.
12+
13+ -->
14+
15+ ### Non-Breaking
16+
17+ - Expose ` runClientBurst ` , ` runServerBurst ` and ` runCBORDecoderWithChannel ` from
18+ ` ReqResp ` for use in the incremental decoder benchmark.
19+ - Expose ` ReqResp ` in new tests-lib library.
20+
21+
22+ <!--
23+ ### Patch
24+
25+ - A bullet item for the Patch category.
26+
27+ -->
Original file line number Diff line number Diff line change @@ -28,13 +28,12 @@ flag tracetcpinfo
2828 manual : True
2929 default : False
3030
31- common demo-deps
31+ common lib-defaults
3232 default-language : Haskell2010
3333 default-extensions : ImportQualifiedPost
3434 ghc-options :
35- -threaded
3635 -Wall
37- -fno-ignore-asserts
36+ -Wno-unticked-promoted-constructors
3837 -Wcompat
3938 -Wincomplete-uni-patterns
4039 -Wincomplete-record-updates
@@ -48,7 +47,14 @@ common demo-deps
4847 ghc-options :
4948 -Wno-pattern-namespace-specifier
5049
50+ common demo-deps
51+ import : lib-defaults
52+ ghc-options :
53+ -threaded
54+ -fno-ignore-asserts
55+
5156library
57+ import : lib-defaults
5258 build-depends :
5359 -- The Windows version of network-3.1.2 is missing
5460 -- functions, see
@@ -105,23 +111,24 @@ library
105111 if os(windows)
106112 exposed-modules :
107113 Network.Mux.Bearer.NamedPipe
108- default-language : Haskell2010
109- default-extensions : ImportQualifiedPost
110- ghc-options :
111- -Wall
112- -Wcompat
113- -Widentities
114- -Wincomplete-record-updates
115- -Wincomplete-uni-patterns
116- -Wno-unticked-promoted-constructors
117- -Wpartial-fields
118- -Wredundant-constraints
119- -Wunused-packages
120114
121- -- In ghc-9.14 the `pattern` namespace specifier is deprecated.
122- if impl(ghc >= 9.14 )
123- ghc-options :
124- -Wno-pattern-namespace-specifier
115+ library tests-lib
116+ import : lib-defaults
117+ visibility : public
118+ hs-source-dirs : test
119+ exposed-modules :
120+ Test.Mux.ReqResp
121+
122+ build-depends :
123+ base >= 4.14 && < 4.23 ,
124+ binary,
125+ bytestring >= 0.10 && < 0.13 ,
126+ cborg >= 0.2.8 && < 0.3 ,
127+ contra-tracer >= 0.1 && < 0.3 ,
128+ io-classes ^>= 1.8 ,
129+ network-mux,
130+ primitive,
131+ serialise,
125132
126133test-suite test
127134 type : exitcode-stdio-1.0
You can’t perform that action at this time.
0 commit comments