cabal-version: 3.0 name: tirclogv version: 0.1.0.0 author: Tom Smeding maintainer: Tom Smeding license: BSD-3-Clause build-type: Simple 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 Pages.TH Util ZNC build-depends: base >= 4.19, escapexml, mini-http-server, attoparsec, bytestring, clock, containers, directory, filepath, fsnotify, mustache, text-builder-linear, random, template-haskell, text >= 2.1.2, transformers, time, unix, unordered-containers, vector hs-source-dirs: src c-sources: cbits/mmap.c -- necessary so profiling works: other-extensions: TemplateHaskell ghc-options: -threaded library escapexml import: common exposed-modules: EscapeXML build-depends: base, text hs-source-dirs: escapexml c-sources: escapexml/escapexml.c 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: server-test executable echo-server import: common main-is: mini-http-server/Main.hs build-depends: base, mini-http-server, bytestring ghc-options: -threaded