summaryrefslogtreecommitdiff
path: root/src/Data/Torrent/Progress.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Torrent/Progress.hs')
-rw-r--r--src/Data/Torrent/Progress.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Data/Torrent/Progress.hs b/src/Data/Torrent/Progress.hs
index ffcbf2aa..4719020a 100644
--- a/src/Data/Torrent/Progress.hs
+++ b/src/Data/Torrent/Progress.hs
@@ -36,7 +36,6 @@ module Data.Torrent.Progress
36 36
37import Control.Applicative 37import Control.Applicative
38import Control.Lens hiding ((%=)) 38import Control.Lens hiding ((%=))
39import Data.Aeson.TH
40import Data.ByteString.Lazy.Builder as BS 39import Data.ByteString.Lazy.Builder as BS
41import Data.ByteString.Lazy.Builder.ASCII as BS 40import Data.ByteString.Lazy.Builder.ASCII as BS
42import Data.Default 41import Data.Default
@@ -49,8 +48,6 @@ import Network.HTTP.Types.QueryLike
49import Text.PrettyPrint as PP 48import Text.PrettyPrint as PP
50import Text.PrettyPrint.Class 49import Text.PrettyPrint.Class
51 50
52import Data.Torrent.JSON
53
54 51
55-- | Progress data is considered as dynamic within one client 52-- | Progress data is considered as dynamic within one client
56-- session. This data also should be shared across client application 53-- session. This data also should be shared across client application
@@ -64,7 +61,6 @@ data Progress = Progress
64 } deriving (Show, Read, Eq) 61 } deriving (Show, Read, Eq)
65 62
66$(makeLenses ''Progress) 63$(makeLenses ''Progress)
67$(deriveJSON omitLensPrefix ''Progress)
68 64
69-- | UDP tracker compatible encoding. 65-- | UDP tracker compatible encoding.
70instance Serialize Progress where 66instance Serialize Progress where