From ffbde7ba6bc275e7cc8c6b2dcca15ad775bedb9b Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 8 Nov 2026 13:37:43 +0000 Subject: Use own mustache parser; drop mustache&aeson deps --- tirclogv.cabal | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'tirclogv.cabal') diff --git a/tirclogv.cabal b/tirclogv.cabal index b8bf626..febb925 100644 --- a/tirclogv.cabal +++ b/tirclogv.cabal @@ -31,7 +31,6 @@ executable tirclogv Index Mmap Pages - Pages.TH Parallel Spamcheck Util @@ -41,6 +40,7 @@ executable tirclogv base >= 4.20, escapexml, mini-http-server, + mustache-th, -- attoparsec, base16-bytestring, @@ -51,7 +51,6 @@ executable tirclogv directory, filepath, fsnotify, - mustache, text-builder-linear, random, template-haskell, @@ -70,6 +69,28 @@ executable tirclogv 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 -- cgit v1.3.1