summaryrefslogtreecommitdiff
path: root/bittorrent.cabal
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-01-22 05:31:14 -0500
committerjoe <joe@jerkface.net>2017-01-22 05:31:14 -0500
commit8cf4de73d77197032fd8ebfc4e4f3a00b287e0e7 (patch)
tree6ee5d529caf714851223d2da9f22eb1510d5cfee /bittorrent.cabal
parent1c8cbe8fc66466936b4f889b3893ca3c23478631 (diff)
New: DHT deamon and command-line interface.
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)