packages feed

md5-0.1.0.0: md5.cabal

cabal-version: 2.2
name: md5
version: 0.1.0.0
synopsis: MD5 Hash
description:
  This library is a copy of cryptohash-md5 that works on GC-managed
  byte arrays instead of ByteString. The C code is a copied from
  that library. If you find an issue with the C code, you should
  open an issue on cryptohash-md5.
homepage: https://github.com/byteverse/md5
bug-reports: https://github.com/byteverse/md5/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: andrew.thaddeus@gmail.com
copyright: 2023 Andrew Martin
category: Data
build-type: Simple
extra-source-files:
  CHANGELOG.md
  cbits/md5.h

library
  include-dirs: cbits
  cc-options: -Wall -O3
  hs-source-dirs: src
  exposed-modules: Hash.Md5
  other-modules: Hash.Md5.Internal
  build-depends:
    , base >=4.12 && <5
    , primitive >=0.7 && <0.8
    , bytebuild >=0.3.4 && <0.4
    , byteslice >=0.2.2 && <0.3
  default-language: Haskell2010
  ghc-options: -O2 -Wall

test-suite test
  Default-Language: Haskell2010
  hs-source-dirs: test
  main-is: Main.hs
  type: exitcode-stdio-1.0
  build-depends:
    , base
    , bytebuild >=0.3.4
    , byteslice >=0.1.4.0
    , natural-arithmetic >=0.1.1
    , primitive
    , md5
  ghc-options: -O2 -Wall