BSD-3-Clause licensed by Oleg Grenrus
Maintained by Oleg.Grenrus
This version can be pinned in stack with:file-embed-lzma-0.1@sha256:247a1f094fd896606086fc5f8d8813737def32f39fdf8c56967d4b082b7dbb5e,2031

Module documentation for 0.1

The file-embed package let's embed file and dir contents.

This package is similar, but also compresses the embedded contents with LZMA. That makes resulting object files smaller, at the cost of start up decompression.

There's also an embedRecursiveDir function.

Changes

Revision history for file-embed-lzma

0.1

  • The default interface uses TTH (Code), the previous untyped TH interface is in the FileEmbedLzma.Untyped module.
  • Support GHC-9.0.2…9.10.1

0.0.1

  • Use bytesPrimL when available
  • Drop GHC-7.x support. We no more depend on th-lift-instances, and use TemplateHaskellQuotes instead of TemplateHaskell for the lib itself.
  • embedRecursiveDir sorts files, so the generated code is more deterministic

0

  • First version. Released on an unsuspecting world.