packages feed

text-builder-0.6.6.5: text-builder.cabal

cabal-version: 3.0

name: text-builder
version: 0.6.6.5
category: Text
synopsis: An efficient strict text builder
homepage: https://github.com/nikita-volkov/text-builder
bug-reports: https://github.com/nikita-volkov/text-builder/issues
author: Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
copyright: (c) 2017, Nikita Volkov
license: MIT
license-file: LICENSE

source-repository head
  type: git
  location: git://github.com/nikita-volkov/text-builder.git

common language-settings
  default-extensions: BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language: Haskell2010

library
  import: language-settings
  hs-source-dirs: library
  exposed-modules:
    Text.Builder
  build-depends:
    base-prelude >=1.6 && <2,
    bytestring >=0.10 && <0.12,
    text >=1.2 && <3,
    text-builder-dev >=0.2.0.1 && <0.3,

test-suite test
  import: language-settings
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  build-depends:
    QuickCheck >=2.13 && <3,
    quickcheck-instances >=0.3.22 && <0.4,
    rerebase <2,
    tasty >=1.2.3 && <2,
    tasty-hunit >=0.10.0.2 && <0.11,
    tasty-quickcheck >=0.10.1 && <0.11,
    text-builder,

benchmark benchmark-text
  import: language-settings
  type: exitcode-stdio-1.0
  hs-source-dirs: benchmark-text
  ghc-options: -O2 -threaded "-with-rtsopts=-N" -funbox-strict-fields
  main-is: Main.hs
  build-depends:
    criterion >=1.5.6.1 && <2,
    rerebase ==1.*,
    text-builder,

benchmark benchmark-char
  import: language-settings
  type: exitcode-stdio-1.0
  hs-source-dirs: benchmark-char
  ghc-options: -O2 -threaded "-with-rtsopts=-N" -funbox-strict-fields
  main-is: Main.hs
  build-depends:
    criterion >=1.5.6.1 && <2,
    rerebase ==1.*,
    text-builder,