diff options
Diffstat (limited to 'bittorrent.cabal')
-rw-r--r-- | bittorrent.cabal | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal index e420beba..69a1207b 100644 --- a/bittorrent.cabal +++ b/bittorrent.cabal | |||
@@ -51,6 +51,7 @@ library | |||
51 | Data.Torrent.Tree | 51 | Data.Torrent.Tree |
52 | -- Network.BitTorrent | 52 | -- Network.BitTorrent |
53 | Network.BitTorrent.Client | 53 | Network.BitTorrent.Client |
54 | Network.BitTorrent.Client.Swarm | ||
54 | Network.BitTorrent.Core | 55 | Network.BitTorrent.Core |
55 | Network.BitTorrent.Core.Fingerprint | 56 | Network.BitTorrent.Core.Fingerprint |
56 | Network.BitTorrent.Core.PeerId | 57 | Network.BitTorrent.Core.PeerId |
@@ -95,7 +96,7 @@ library | |||
95 | -- Concurrency | 96 | -- Concurrency |
96 | -- , SafeSemaphore | 97 | -- , SafeSemaphore |
97 | -- , BoundedChan >= 1.0.1.0 | 98 | -- , BoundedChan >= 1.0.1.0 |
98 | -- , stm >= 2.4 | 99 | , stm >= 2.4 |
99 | 100 | ||
100 | -- Streaming | 101 | -- Streaming |
101 | , conduit >= 1.0 | 102 | , conduit >= 1.0 |
@@ -110,7 +111,7 @@ library | |||
110 | , intset >= 0.1 | 111 | , intset >= 0.1 |
111 | , split >= 0.2 | 112 | , split >= 0.2 |
112 | , text >= 0.11.0 | 113 | , text >= 0.11.0 |
113 | -- , unordered-containers | 114 | , unordered-containers |
114 | , vector >= 0.10 | 115 | , vector >= 0.10 |
115 | 116 | ||
116 | -- Hashing | 117 | -- Hashing |
@@ -211,3 +212,12 @@ test-suite spec | |||
211 | -- | 212 | -- |
212 | -- , bittorrent | 213 | -- , bittorrent |
213 | -- ghc-options: -O2 -Wall -fno-warn-orphans | 214 | -- ghc-options: -O2 -Wall -fno-warn-orphans |
215 | |||
216 | executable client-example | ||
217 | default-language: Haskell2010 | ||
218 | hs-source-dirs: examples | ||
219 | main-is: Client.hs | ||
220 | build-depends: base == 4.* | ||
221 | , bittorrent | ||
222 | , pretty-class | ||
223 | , data-default \ No newline at end of file | ||