summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-12-05 02:22:14 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-12-05 02:22:14 +0400
commit6eefd65b82bb277d84473d39618ca18a8cfe7152 (patch)
tree7bda47ca2a0b338ff59e6c3524bf1d687c73f03b
parent8a3bc8f28d881c8e5208efd2f87fcc3a18832c3b (diff)
Add Network.BitTorrent.Core module
-rw-r--r--bittorrent.cabal4
-rw-r--r--src/Network/BitTorrent/Core.hs13
2 files changed, 14 insertions, 3 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index a7441eb8..7d2fec12 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -53,6 +53,7 @@ library
53 , Data.Torrent.Tree 53 , Data.Torrent.Tree
54 , Data.Torrent.URN 54 , Data.Torrent.URN
55-- , Network.BitTorrent 55-- , Network.BitTorrent
56 , Network.BitTorrent.Core
56 , Network.BitTorrent.Core.PeerId 57 , Network.BitTorrent.Core.PeerId
57 , Network.BitTorrent.Core.PeerAddr 58 , Network.BitTorrent.Core.PeerAddr
58-- , Network.BitTorrent.DHT 59-- , Network.BitTorrent.DHT
@@ -64,7 +65,6 @@ library
64-- , Network.BitTorrent.Exchange.Session 65-- , Network.BitTorrent.Exchange.Session
65 , Network.BitTorrent.Exchange.Status 66 , Network.BitTorrent.Exchange.Status
66-- , Network.BitTorrent.Exchange.Wire 67-- , Network.BitTorrent.Exchange.Wire
67-- , Network.BitTorrent.Extension
68-- , Network.BitTorrent.Tracker 68-- , Network.BitTorrent.Tracker
69-- , Network.BitTorrent.Tracker.RPC 69-- , Network.BitTorrent.Tracker.RPC
70 , Network.BitTorrent.Tracker.Wai 70 , Network.BitTorrent.Tracker.Wai
@@ -88,7 +88,7 @@ library
88 , deepseq >= 1.3 88 , deepseq >= 1.3
89 , lens >= 3.0 89 , lens >= 3.0
90 , resourcet >= 0.4 90 , resourcet >= 0.4
91-- , transformers 91 , mtl
92 92
93 -- Concurrency 93 -- Concurrency
94-- , SafeSemaphore 94-- , SafeSemaphore
diff --git a/src/Network/BitTorrent/Core.hs b/src/Network/BitTorrent/Core.hs
index 70fe83c3..b4329598 100644
--- a/src/Network/BitTorrent/Core.hs
+++ b/src/Network/BitTorrent/Core.hs
@@ -1 +1,12 @@
1module Network.BitTorrent.Core () where \ No newline at end of file 1-- |
2-- Copyright : (c) Sam Truzjan 2013
3-- License : BSD3
4-- Maintainer : pxqr.sta@gmail.com
5-- Stability : experimental
6-- Portability : portable
7--
8-- Re-export every @Network.BitTorrent.Core.*@ module.
9--
10module Network.BitTorrent.Core (module Core) where
11import Network.BitTorrent.Core.PeerId as Core
12import Network.BitTorrent.Core.PeerAddr as Core \ No newline at end of file