diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/bench/Main.hs b/bench/Main.hs
--- a/bench/Main.hs
+++ b/bench/Main.hs
@@ -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
 
diff --git a/bencoding.cabal b/bencoding.cabal
--- a/bencoding.cabal
+++ b/bencoding.cabal
@@ -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:
