format-heavy-0.1.0.2: format-heavy.cabal
cabal-version: 1.12
-- Keep this file synchronized with package.yaml when changing package
-- metadata, dependencies, exposed modules, or test configuration.
name: format-heavy
version: 0.1.0.2
synopsis: Full-weight string formatting library, analog of Python's string.format
description: This package contains full-featured string formatting function, similar to Python's string.format. Features include:
* Automatically numbered variable placeholders;
* Positional variable placeholders;
* Named variable placeholders;
* Placeholders can be used in any order; one variable can be used several
times or not used at all.
.
* Specific format can be used for each variable substitution.
This package prefers functionality over "light weight" and (probably) performance. It also exposes all required interfaces to extend and customize it.
See the README and @examples/@ directory for details.
category: Text
homepage: https://github.com/lbobylev/format-heavy#format-heavy
bug-reports: https://github.com/lbobylev/format-heavy/issues
author: Ilya Portnov
maintainer: Leonid Bobylev <l3o6@proton.me>
tested-with: GHC == 9.2.8, GHC == 9.4.8, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
ChangeLog.md
README.md
examples/test.hs
examples/Benchmarks.hs
source-repository head
type: git
location: https://github.com/lbobylev/format-heavy
library
exposed-modules:
Data.Text.Format.Heavy
Data.Text.Format.Heavy.Build
Data.Text.Format.Heavy.Formats
Data.Text.Format.Heavy.Instances
Data.Text.Format.Heavy.Parse
Data.Text.Format.Heavy.Parse.Braces
Data.Text.Format.Heavy.Parse.Shell
Data.Text.Format.Heavy.Parse.Types
Data.Text.Format.Heavy.Parse.VarFormat
Data.Text.Format.Heavy.Time
Data.Text.Format.Heavy.Types
other-modules:
Paths_format_heavy
hs-source-dirs:
.
build-depends:
base >=4.16 && <5
, bytestring >=0.12 && <0.13
, containers >=0.7 && <0.8
, data-default >=0.8 && <0.9
, labels >=0.3 && <0.4
, parsec >=3.1.18 && <3.2
, template-haskell >=2.18 && <2.24
, text >=2.1 && <3
, th-lift >=0.8 && <0.9
, th-lift-instances >=0.1 && <0.2
, time >=1.12 && <1.15
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_format_heavy
hs-source-dirs:
tests
build-depends:
base >=4.16 && <5
, bytestring >=0.12 && <0.13
, hspec
, format-heavy
, time >=1.12 && <1.15
, containers
, text
default-language: Haskell2010