packages feed

crc-0.0.1: crc.cabal

name:                crc
version:             0.0.1
synopsis:            Implements various Cyclic Redundancy Checks (CRC)
description:         Please see README.md
homepage:            http://github.com/MichaelXavier/crc#readme
license:             MIT
license-file:        LICENSE
author:              Michael Xavier
maintainer:          michael@michaelxavier.net
copyright:           2015 Michael Xavier
category:            Web
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

flag lib-Werror
  default: False
  manual: True

library
  hs-source-dirs:      src
  exposed-modules:     Data.Digest.CRC
                     , Data.Digest.CRC8
                     , Data.Digest.CRC16
                     , Data.Digest.CRC32
                     , Data.Digest.CRC64
  build-depends:       base >= 4.7 && < 5
                     , bytestring
                     , vector
  default-language:    Haskell2010

  if flag(lib-Werror)
    ghc-options: -Werror

  ghc-options: -Wall


test-suite test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Main.hs
  build-depends:       base
                     , crc
                     , tasty
                     , tasty-golden
                     , conduit
                     , conduit-extra
                     , bytestring
                     , resourcet
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

  if flag(lib-Werror)
    ghc-options: -Werror

  ghc-options: -Wall


benchmark bench
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs: bench
  default-language:    Haskell2010
  build-depends:
      base
    , crc
    , criterion
    , bytestring

  if flag(lib-Werror)
    ghc-options: -Werror

  ghc-options: -Wall


source-repository head
  type:     git
  location: https://github.com/MichaelXavier/crc