]> git.rkrishnan.org Git - functorrent.git/blobdiff - functorrent.cabal
Basic infrastructure for Extension messages (BEP 0010)
[functorrent.git] / functorrent.cabal
index 4b865b60a0ae17fd68862bdfa2ddf7722a1e7053..50bd270cbe3f16027bfed70c303183b9ae89bd58 100644 (file)
@@ -28,7 +28,10 @@ library
                        FuncTorrent.Tracker,
                        FuncTorrent.Tracker.Http,
                        FuncTorrent.Tracker.Types,
-                       FuncTorrent.Utils
+                       FuncTorrent.Tracker.Udp,
+                       FuncTorrent.MagnetURI,
+                       FuncTorrent.Utils,
+                       FuncTorrent.Config
 
   other-extensions:    OverloadedStrings
   hs-source-dirs:      src
@@ -47,10 +50,11 @@ library
                        network-uri,
                        parsec,
                        QuickCheck,
+                       random,
                        safe,
                        transformers
 
-executable functorrent
+executable functorrent-exe
   main-is:             Main.hs
   other-extensions:    OverloadedStrings
   hs-source-dirs:      src/main
@@ -76,17 +80,10 @@ test-suite functorrent-test
   type:              exitcode-stdio-1.0
   default-language:  Haskell2010
   hs-source-dirs:    test
-  main-is:           Test.hs
-  other-modules:     BencodeTests
-  build-depends:     base,
-                     functorrent,
-                     bytestring,
-                     containers,
-                     directory,
-                     doctest,
-                     QuickCheck,
-                     tasty,
-                     tasty-hunit,
-                     QuickCheck,
-                     tasty-quickcheck,
-                     test-framework-quickcheck2
+  main-is:           Main.hs
+  other-modules:     MagneturiTests
+  build-depends:     base
+                   , bytestring
+                   , functorrent
+                   , hspec
+                   , QuickCheck