summaryrefslogtreecommitdiff
path: root/bittorrent.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'bittorrent.cabal')
-rw-r--r--bittorrent.cabal20
1 files changed, 20 insertions, 0 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index 0fddf5d0..fbd17397 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -83,6 +83,8 @@ library
83 Network.BitTorrent.DHT.Routing 83 Network.BitTorrent.DHT.Routing
84 Network.BitTorrent.DHT.Session 84 Network.BitTorrent.DHT.Session
85 Network.BitTorrent.DHT.Token 85 Network.BitTorrent.DHT.Token
86 Network.StreamServer
87 Network.SocketLike
86 other-modules: Paths_bittorrent 88 other-modules: Paths_bittorrent
87 if !flag(dht-only) 89 if !flag(dht-only)
88 exposed-modules: Network.BitTorrent 90 exposed-modules: Network.BitTorrent
@@ -336,6 +338,24 @@ benchmark bench
336 , criterion 338 , criterion
337 ghc-options: -O2 -fforce-recomp 339 ghc-options: -O2 -fforce-recomp
338 340
341executable dht
342 hs-source-dirs: examples
343 main-is: dht.hs
344 default-language: Haskell2010
345 build-depends: base, haskeline, network, bytestring
346
347executable dhtd
348 hs-source-dirs: examples
349 main-is: dhtd.hs
350 default-language: Haskell2010
351 build-depends: base, network, bytestring
352 , mtl
353 , lifted-base
354 , pretty
355 , data-default
356 , monad-logger
357 , bittorrent
358
339-- Utility to work with torrent files. 359-- Utility to work with torrent files.
340executable mktorrent 360executable mktorrent
341 if !flag(examples) 361 if !flag(examples)