bencoding 0.4.5.0 → 0.4.5.1
raw patch · 3 files changed
+12/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog +5/−0
- bench/Main.hs +5/−3
- bencoding.cabal +2/−2
ChangeLog view
@@ -1,3 +1,8 @@+2019-01-06 Sergey Vinokurov <serg.foo@gmail.com>++ * 0.4.5.1: Fix benchmark build when dependency on AttoBencode is switched off+ * 0.4.5.0: Test against GHC 8.6. Make benchmark dependency on AttoBencode disablable+ 2018-09-18 Sergey Vinokurov <serg.foo@gmail.com> * 0.4.4.0: Fix build for GHC 8.0-8.4. Derive Generic instances. Add Semigroup instance.
bench/Main.hs view
@@ -17,7 +17,6 @@ import Control.DeepSeq import Control.Exception-import Data.Attoparsec.ByteString as Atto import Data.ByteString as BS import qualified Data.ByteString.Lazy as BL import Data.List as L@@ -34,8 +33,9 @@ import "bencoding" Data.BEncode.Types as C #ifdef BENCHMARK_ATTOBENCODE-import Data.AttoBencode as B-import Data.AttoBencode.Parser as B+import Data.Attoparsec.ByteString as Atto+import Data.AttoBencode as B+import Data.AttoBencode.Parser as B #endif instance NFData A.BEncode where@@ -136,8 +136,10 @@ defaultMain [ bench "decode/bencode" $ nf A.bRead lazyTorrentFile+#ifdef BENCHMARK_ATTOBENCODE , bench "decode/AttoBencode" $ nf (getRight . Atto.parseOnly bValue) torrentFile+#endif , bench "decode/bencoding" $ nf (getRight . C.parse) torrentFile
bencoding.cabal view
@@ -1,5 +1,5 @@ name: bencoding-version: 0.4.5.0+version: 0.4.5.1 license: BSD3 license-file: LICENSE author: Sam Truzjan@@ -29,7 +29,7 @@ type: git location: https://github.com/sergv/bencoding.git branch: master- tag: v0.4.5.0+ tag: v0.4.5.1 flag dev description: