diff options
Diffstat (limited to 'src/Data/Torrent/Progress.hs')
-rw-r--r-- | src/Data/Torrent/Progress.hs | 4 |
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 | ||
37 | import Control.Applicative | 37 | import Control.Applicative |
38 | import Control.Lens hiding ((%=)) | 38 | import Control.Lens hiding ((%=)) |
39 | import Data.Aeson.TH | ||
40 | import Data.ByteString.Lazy.Builder as BS | 39 | import Data.ByteString.Lazy.Builder as BS |
41 | import Data.ByteString.Lazy.Builder.ASCII as BS | 40 | import Data.ByteString.Lazy.Builder.ASCII as BS |
42 | import Data.Default | 41 | import Data.Default |
@@ -49,8 +48,6 @@ import Network.HTTP.Types.QueryLike | |||
49 | import Text.PrettyPrint as PP | 48 | import Text.PrettyPrint as PP |
50 | import Text.PrettyPrint.Class | 49 | import Text.PrettyPrint.Class |
51 | 50 | ||
52 | import 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. |
70 | instance Serialize Progress where | 66 | instance Serialize Progress where |