cabal-version: 3.0

name: path-text-utf8
version: 0.0.2.0
category: Filesystem, Text

synopsis: Read and write UTF-8 text files

description: This is a trivial integration of the @path@ and @text@
             packages, providing convenient functions to read and
             write UTF-8 text files.

homepage:    https://github.com/typeclasses/path-text-utf8
bug-reports: https://github.com/typeclasses/path-text-utf8/issues

author: Chris Martin
maintainer: Chris Martin, Julie Moronuki

copyright: 2017 Mission Valley Software LLC
license: Apache-2.0
license-file: license.txt

extra-source-files: *.md

source-repository head
    type: git
    location: https://github.com/typeclasses/path-text-utf8

library
    default-language: GHC2021
    hs-source-dirs: src
    ghc-options: -Wall
    default-extensions:
        BangPatterns
        NoImplicitPrelude

    exposed-modules:
        Path.Text.UTF8
        OsPath.Text.UTF8

    build-depends:
      , base ^>= 4.18
      , bytestring ^>= 0.10.12 || ^>= 0.11
      , file-io ^>= 0.1.0
      , filepath ^>= 1.4.100
      , path ^>= 0.9.2
      , safe-exceptions ^>= 0.1.7
      , text ^>= 1.2.5 || ^>= 2.0