packages feed

bytestring-encodings-0.1.0.1: bytestring-encodings.cabal

name:
  bytestring-encodings
version:
  0.1.0.1
synopsis:
  checks to see if a given bytestring adheres to a certain encoding 
description:
  'Data.ByteString.X' modules provide simple, efficient function 'isX :: ByteString -> Bool'
  which returns 'True' if a given ByteString adheres to a certain encoding X,
  and 'False' otherwise. 
license:
  MIT
license-file:
  LICENSE
author:
  chessai
maintainer:
  chessai1996@gmail.com
copyright:
  chessai (c) 2018 
category:
  Data 
build-type:
  Simple
extra-source-files:
  ChangeLog.md
cabal-version:
  >=1.10

source-repository head
  type:     git
  location: https://github.com/chessai/bytestring-encodings

flag dev-wall-werror
  description: turn on -Wall -Werror for development purposes
  manual: True
  default: False

library
  exposed-modules:
      Data.ByteString.Ascii
    , Data.ByteString.Utf8 
  build-depends:
      base >=4.10 && <5.0
    , bytestring 
    , ghc-prim 
  default-language:    Haskell2010
  if flag(dev-wall-werror)
    ghc-options: -Wall -Werror

test-suite test
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is: Main.hs
  other-modules:
      Ascii
      Utf8 
  build-depends:
      base
    , bytestring
    , bytestring-encodings
    , hedgehog 
  default-language:    Haskell2010

benchmark microbenchmark
  type: exitcode-stdio-1.0
  build-depends:
      base
    , bytestring 
    , bytestring-encodings
    , gauge
    , text
  default-language: Haskell2010
  hs-source-dirs: benchmark
  main-is: Main.hs