diff options
Diffstat (limited to 'tirclogv.cabal')
| -rw-r--r-- | tirclogv.cabal | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/tirclogv.cabal b/tirclogv.cabal index c1070ab..cb7f58b 100644 --- a/tirclogv.cabal +++ b/tirclogv.cabal @@ -21,6 +21,7 @@ executable tirclogv ZNC build-depends: base >= 4.19, + mini-http-server, attoparsec, bytestring, clock, @@ -28,16 +29,13 @@ executable tirclogv directory, filepath, fsnotify, - http-types, mustache, random, text >= 2.1.2, transformers, time, unix, - vector, - wai, - warp >= 3.4.12 + vector hs-source-dirs: src c-sources: cbits/mmap.c default-language: Haskell2010 @@ -49,15 +47,19 @@ executable tirclogv TupleSections ghc-options: -Wall -threaded -library mini-http +library mini-http-server exposed-modules: Network.HTTP.Server.Mini + Network.HTTP.Server.Mini.URI Network.HTTP.Server.Mini.Types other-modules: Network.HTTP.Server.Mini.Parser + Network.HTTP.Server.Mini.Printer + Network.HTTP.Server.Mini.Util build-depends: base, bytestring, + flatparse, network, transformers, stm @@ -68,3 +70,14 @@ library mini-http LambdaCase MultiWayIf ghc-options: -Wall + +executable mini-http-server-test + main-is: mini-http/Main.hs + build-depends: + base, + mini-http-server, + bytestring + default-language: Haskell2010 + default-extensions: + ImportQualifiedPost + ghc-options: -Wall |
