text-format / text-format.cabal

name:           text-format
version:        0.2.0.0
license:        BSD3
license-file:   LICENSE
homepage:       https://github.com/mailrank/text-format
bug-reports:    https://github.com/mailrank/text-format/issues
category:       Text
author:         Bryan O'Sullivan <bos@mailrank.com>
maintainer:     Bryan O'Sullivan <bos@mailrank.com>
stability:      experimental
tested-with:    GHC == 7.0.3
synopsis:       Text formatting
cabal-version:  >= 1.8
build-type:     Simple
description:
    A text formatting library optimized for ease of use and high
    performance.

extra-source-files:
    README.markdown
    tests/Benchmarks.hs

flag developer
  description: operate in developer mode
  default: False

library
  exposed-modules:
    Data.Text.Format
    Data.Text.Buildable
    Data.Text.Format.Params
    Data.Text.Format.Types

  other-modules:
    Data.Text.Format.Functions
    Data.Text.Format.Int
    Data.Text.Format.RealFloat
    Data.Text.Format.RealFloat.Fast
    Data.Text.Format.RealFloat.Fast.Internal
    Data.Text.Format.RealFloat.Functions
    Data.Text.Format.Types.Internal

  build-depends:
    array,
    base == 4.*,
    ghc-prim,
    integer-gmp,
    old-locale,
    text >= 0.11.0.8,
    time

  if flag(developer)
    ghc-options: -Werror
    ghc-prof-options: -auto-all

  ghc-options: -Wall

  cpp-options: -DINTEGER_GMP

  if impl(ghc >= 6.11)
    build-depends: integer-gmp >= 0.2 && < 0.3

  if impl(ghc >= 6.9) && impl(ghc < 6.11)
    build-depends: integer >= 0.1 && < 0.2

source-repository head
  type:     git
  location: https://github.com/mailrank/text-format

source-repository head
  type:     mercurial
  location: https://bitbucket.org/bos/text-format
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.