cabal-version: 3.0 name: tirclogv version: 0.1.0.0 author: Tom Smeding maintainer: Tom Smeding license: AGPL-3.0-or-later license-file: COPYING build-type: Simple extra-source-files: pages/*.mustache pages/partials/*.mustache common common default-language: Haskell2010 default-extensions: ImportQualifiedPost LambdaCase MultiWayIf TypeApplications TupleSections ghc-options: -Wall executable tirclogv import: common main-is: Main.hs other-modules: Cache Calendar Config Debounce ImmutGrowVector Index Mmap Pages Parallel Spamcheck Util -- ZNC.Slow ZNC.Parser build-depends: base >= 4.20, escapexml, mini-http-server, mustache-th, -- attoparsec, base16-bytestring, bytestring, clock, containers, cryptohash-sha256, directory, filepath, fsnotify, text-builder-linear, random, template-haskell, text >= 2.1.2, transformers, time, unix, vector hs-source-dirs: src c-sources: cbits/znc.c cbits/mmap.c cc-options: -msse2 -Wall -Wextra -- necessary so profiling works: other-extensions: TemplateHaskell ghc-options: -threaded -rtsopts library mustache-th import: common exposed-modules: Mustache.TH Mustache.TH.Parser build-depends: base, escapexml, bytestring, containers, template-haskell, text, text-builder-linear, transformers, vector hs-source-dirs: mustache-th executable test-mustache-th import: common main-is: Main.hs other-modules: RenderNonTH build-depends: base, mustache-th, escapexml, aeson, containers, directory, filepath, scientific, text, text-builder-linear, transformers, vector, yaml hs-source-dirs: test/mustache-th library escapexml import: common exposed-modules: EscapeXML build-depends: base, text hs-source-dirs: escapexml c-sources: escapexml/escapexml.c cc-options: -msse2 -Wall -Wextra library mini-http-server import: common exposed-modules: Network.HTTP.Server.Mini Network.HTTP.Server.Mini.URI Network.HTTP.Server.Mini.Types Network.HTTP.Server.Mini.Internal.Instrument Network.HTTP.Server.Mini.Internal.Parser other-modules: Network.HTTP.Server.Mini.Printer Network.HTTP.Server.Mini.Util build-depends: base, bytestring, flatparse, network, text, time, transformers, stm hs-source-dirs: mini-http-server test-suite server-test import: common type: exitcode-stdio-1.0 main-is: Main.hs build-depends: base, mini-http-server, bytestring, hedgehog, transformers hs-source-dirs: test/server executable echo-server import: common main-is: mini-http-server/Main.hs build-depends: base, mini-http-server, bytestring ghc-options: -threaded