packages feed

from-string-1.0.0.0: from-string.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.37.0.
--
-- see: https://github.com/sol/hpack

name:           from-string
version:        1.0.0.0
synopsis:       Instances of 'From' for common string types
description:    Convenient "sane default" conversion from/to strict ByteString, lazy
                ByteString, ByteString Builder, ShortByteString, strict Text, lazy Text, Text
                Builder, and String. When the conversions crosses the boundary of the byte
                types and the textual types, UTF-8 is assumed.
category:       ByteString, Text, String
homepage:       https://codeberg.org/xt/from
bug-reports:    https://codeberg.org/xt/from/issues
author:         XT
maintainer:     git@xtendo.org
copyright:      Copyright (C) 2024-2025 XT
license:        Apache-2.0
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://codeberg.org/xt/from

library
  exposed-modules:
      From.String
  other-modules:
      From.String.AutoGen
      Paths_from_string
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , bytestring
    , from
    , text
  default-language: Haskell2010

test-suite from-string-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Paths_from_string
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , bytestring
    , from
    , rawfilepath
    , text
    , unix
  default-language: Haskell2010