cabal-version: 1.18

name:           string-interpolate
version:        0.2.0.3
synopsis:       Haskell string/text/bytestring interpolation that just works
description:    Unicode-aware string interpolation that handles all textual types.
                .
                See the README at <https://gitlab.com/williamyaoh/string-interpolate/blob/master/README.md> for more info.
category:       Data, Text
homepage:       https://gitlab.com/williamyaoh/string-interpolate/blob/master/README.md
bug-reports:    https://gitlab.com/williamyaoh/string-interpolate/issues
author:         William Yao
maintainer:     williamyaoh@gmail.com
copyright:      2019-2020 William Yao
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-doc-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://www.gitlab.com/williamyaoh/string-interpolate.git

library
    exposed-modules:
        Data.String.Interpolate
        Data.String.Interpolate.Conversion
    other-modules:
        Data.String.Interpolate.Parse
        Paths_string_interpolate
    hs-source-dirs:
        src/lib
    ghc-options: -Wall -Wcompat -Wincomplete-record-updates
                 -Wincomplete-uni-patterns -Wredundant-constraints
                 -Wnoncanonical-monad-instances -fno-warn-name-shadowing
    build-depends:
        base ==4.*
      , bytestring <0.11
      , text <1.3
      , haskell-src-exts <1.24
      , haskell-src-meta <0.9
      , template-haskell <2.16
      , text-conversions <0.4
      , utf8-string <1.1
    default-language: Haskell2010

test-suite string-interpolate-test
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    other-modules:
        Paths_string_interpolate
    hs-source-dirs: test
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        base ==4.*
      , string-interpolate -any
      , QuickCheck <2.14
      , bytestring <0.11
      , text <1.3
      , hspec <2.8
      , quickcheck-instances <0.4
      , quickcheck-text <0.2
      , quickcheck-unicode <1.1
      , random-shuffle <0.1
      , unordered-containers <0.3
    default-language: Haskell2010

benchmark string-interpolate-bench
    type: exitcode-stdio-1.0
    main-is: Bench.hs
    other-modules:
        Paths_string_interpolate
    hs-source-dirs: bench
    build-depends:
        base ==4.*
      , string-interpolate -any
      , QuickCheck <2.14
      , bytestring <0.11
      , text <1.3
      , criterion <1.6
      , formatting <6.4
      , interpolate <0.3
      -- , interpolatedstring-perl6 <1.1
      , neat-interpolation <0.4
    default-language: Haskell2010