diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-05-03 22:35:05 +0200 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-05-03 22:35:05 +0200 |
| commit | 61270c31ae292d504c2d43b84d4291c2377e31d7 (patch) | |
| tree | 735c6175c431d8ba9629a3e1a66cc1ffbdd55845 /tirclogv.cabal | |
| parent | ac596adc7455831eed092f69be97fafaefb53ffe (diff) | |
Convert from wai/warp to mini-http-server
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 |
