packages feed

bytestring-encodings-0.2.0.2: bytestring-encodings.cabal

name:
  bytestring-encodings
version:
  0.2.0.2
synopsis:
  checks to see if a given bytestring adheres to a certain encoding 
description:
  This module provides a family of functions, 'isX', of type @'ByteString' -> 'Bool'@,
  which return 'True' if the input 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

library
  exposed-modules:
      Data.ByteString.Encodings
    , Data.ByteString.Internal.Ascii
    , Data.ByteString.Internal.Utf8 
  build-depends:
      base >= 4.7 && <5.0
    , bytestring 
    , ghc-prim 
  default-language:    Haskell2010

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