Fix benchmark compilation (closes #681)
commitf4a379f3cf8b65e43e43db626a0631efa2bff1dc
authorMichael Snoyman <michael@snoyman.com>
dateSun 11 Mar 2018, 19:41 (9 years ago)
parent638a446
warp/ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 3.2.18.1
2+
3+* Fix benchmark compilation [#681](https://github.com/yesodweb/wai/issues/681)
4+
15## 3.2.18
26
37* Make `testWithApplicationSettings` actually use the settings passed.
warp/bench/Parser.hs+5
@@ -1,3 +1,4 @@
1+{-# LANGUAGE CPP #-}
12{-# LANGUAGE OverloadedStrings #-}
23{-# LANGUAGE BangPatterns #-}
34
@@ -18,7 +19,11 @@ import Foreign.ForeignPtr
1819import Foreign.Ptr
1920import Foreign.Storable
2021
22+#if MIN_VERSION_gauge(0, 2, 0)
2123import Gauge
24+#else
25+import Gauge.Main
26+#endif
2227
2328-- $setup
2429-- >>> :set -XOverloadedStrings
warp/warp.cabal+1−1
@@ -1,5 +1,5 @@
11Name: warp
2−Version: 3.2.18
2+Version: 3.2.18.1
33Synopsis: A fast, light-weight web server for WAI applications.
44License: MIT
55License-file: LICENSE