cabal-version:       2.0
name:                str-text
version:             0.1.0.0

synopsis:            Adaptor modules for Text which implement the Str signature
description:         Adaptor modules for 'Text' which provide a type named
                     'Str' and can be used to fill packages parametrized
                     by @str-sig@.
build-type:          Simple

license:             BSD3
license-file:        LICENSE
author:              Edward Z. Yang
maintainer:          hvr@gnu.org
category:            Data, Backpack
bug-reports:         https://github.com/haskell/text/issues
extra-source-files:  ChangeLog.md

library
  exposed-modules:     Str.Text
                       Str.Text.Lazy
  if impl(ghc >= 8.0)
    reexported-modules:  Str.Text as Str
  -- 1.2.1 for repeat/cycle/iterate
  -- 1.2.2 for takeWhileEnd
  build-depends:       base >= 4.7 && < 4.11,
                       text >= 1.2.2 && < 1.3
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/haskell/text
  subdir:   backpack