cabal-version: >=1.18
library
- exposed-modules: FuncTorrent
- FuncTorrent.Bencode,
+ exposed-modules: FuncTorrent.Bencode,
+ FuncTorrent.Fileops,
FuncTorrent.Logger,
FuncTorrent.Metainfo,
FuncTorrent.Network
FuncTorrent.Peer,
- FuncTorrent.Tracker
+ FuncTorrent.PeerMsgs,
+ FuncTorrent.Tracker,
+ FuncTorrent.Utils
- other-modules: FuncTorrent.Utils
other-extensions: OverloadedStrings
hs-source-dirs: src
ghc-options: -Wall -fwarn-incomplete-patterns -fno-warn-orphans
executable functorrent
main-is: Main.hs
other-extensions: OverloadedStrings
- hs-source-dirs: src
+ hs-source-dirs: src/main
ghc-options: -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
default-language: Haskell2010
build-depends: base,
containers,
cryptohash,
directory,
+ functorrent,
HTTP,
mtl,
network,