summaryrefslogtreecommitdiff
path: root/torrent-types
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2019-10-15 20:01:02 -0400
committerJoe Crayne <joe@jerkface.net>2020-01-01 19:37:03 -0500
commit1e66ba60301ac4fb5d3b928797551ec97d2ebd1e (patch)
treef73cb23e2e751013ddff6a434cfc24e2a155769b /torrent-types
parent2099987d56fa6ade48d3426a261d6c0f5c6f92b9 (diff)
Remove ifdefs, drop support for base <4.8
Diffstat (limited to 'torrent-types')
-rw-r--r--torrent-types/src/Data/Torrent.hs5
-rw-r--r--torrent-types/torrent-types.cabal2
2 files changed, 1 insertions, 6 deletions
diff --git a/torrent-types/src/Data/Torrent.hs b/torrent-types/src/Data/Torrent.hs
index 4cad301e..56ea23af 100644
--- a/torrent-types/src/Data/Torrent.hs
+++ b/torrent-types/src/Data/Torrent.hs
@@ -166,14 +166,9 @@ import Control.Exception
166-- import Control.Lens 166-- import Control.Lens
167import Control.Monad 167import Control.Monad
168import Crypto.Hash 168import Crypto.Hash
169#ifdef VERSION_bencoding
170import Data.BEncode as BE 169import Data.BEncode as BE
171import Data.BEncode.Types as BE 170import Data.BEncode.Types as BE
172#endif
173import Data.Bits 171import Data.Bits
174#ifdef VERSION_bits_extras
175import Data.Bits.Extras
176#endif
177import qualified Data.ByteArray as Bytes 172import qualified Data.ByteArray as Bytes
178import Data.ByteString as BS 173import Data.ByteString as BS
179import Data.ByteString.Base16 as Base16 174import Data.ByteString.Base16 as Base16
diff --git a/torrent-types/torrent-types.cabal b/torrent-types/torrent-types.cabal
index 2734e9c1..a722f0ff 100644
--- a/torrent-types/torrent-types.cabal
+++ b/torrent-types/torrent-types.cabal
@@ -21,7 +21,7 @@ library
21 -- other-modules: 21 -- other-modules:
22 other-extensions: CPP, NamedFieldPuns, FlexibleInstances, MultiParamTypeClasses, BangPatterns, GeneralizedNewtypeDeriving, StandaloneDeriving, DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, TemplateHaskell 22 other-extensions: CPP, NamedFieldPuns, FlexibleInstances, MultiParamTypeClasses, BangPatterns, GeneralizedNewtypeDeriving, StandaloneDeriving, DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, TemplateHaskell
23 build-depends: 23 build-depends:
24 base 24 base >= 4.8
25 , deepseq 25 , deepseq
26 , memory 26 , memory
27 , bytestring 27 , bytestring