packages feed

large-hashable-0.1.0.0: large-hashable.cabal

name: large-hashable
version: 0.1.0.0
cabal-version: >=1.10
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: 2015 - 2016 factis research GmbH
maintainer: Stefan Wehr <wehr@cp-med.com>
homepage: https://github.com/factisresearch/large-hashable
synopsis: Efficiently hash (large) Haskell values
description:
    Please see README.md
category: Web
author: Stefan Wehr, Lukas Epple
extra-source-files:
    cbits/md5.h
    README.md
    shell.nix
    stack.yaml

source-repository head
    type: git
    location: https://github.com/factisresearch/large-hashable

library
    exposed-modules:
        Data.LargeHashable
        Data.LargeHashable.Class
        Data.LargeHashable.MD5
        Data.LargeHashable.Intern
        Data.LargeHashable.LargeWord
        Data.LargeHashable.TH
    build-depends:
        aeson >=0.11.2.0,
        base >=4.8 && <5,
        text >=1.2.2.1,
        bytestring >=0.10.6.0,
        transformers >=0.4.2.0,
        base16-bytestring >=0.1.1.6,
        bytes >=0.15.2,
        containers >=0.5.6.2,
        unordered-containers >=0.2.7.0,
        scientific >=0.3.4.6,
        strict >=0.3.2,
        time >=1.5.0.1,
        template-haskell >=2.10.0.0,
        utf8-light >=0.4.2,
        vector >=0.11.0.0,
        void >=0.7.1
    c-sources:
        cbits/md5.c
    default-language: Haskell2010
    hs-source-dirs: src
    ghc-options: -optc -O3 -fno-cse -W -fwarn-unused-imports -fwarn-unused-binds -fwarn-unused-matches -fwarn-unused-do-bind -fwarn-wrong-do-bind -pgmPcpphs -optP--cpp -fno-warn-name-shadowing -fwarn-missing-signatures -O2

test-suite large-hashable-test
    type: exitcode-stdio-1.0
    main-is: Main.hs
    build-depends:
        aeson >=0.11.2.0,
        HTF >=0.13.1.0,
        QuickCheck >=2.8.2,
        base >=4.8 && <5,
        bytes >=0.15.2,
        bytestring >=0.10.6.0,
        containers >=0.5.6.2,
        hashable >=1.2.4.0,
        large-hashable >=0.1.0.0,
        scientific >=0.3.4.6,
        strict >=0.3.2,
        text >=1.2.2.1,
        time >=1.5.0.1,
        unordered-containers >=0.2.7.0,
        vector >=0.11.0.0
    default-language: Haskell2010
    hs-source-dirs: test
    other-modules:
        Data.LargeHashable.Tests.Class
        Data.LargeHashable.Tests.Helper
        Data.LargeHashable.Tests.TH
        Data.LargeHashable.Tests.LargeWord
    ghc-options: -optc -O3 -fno-cse -threaded -rtsopts -with-rtsopts=-N -W -fwarn-unused-imports -fwarn-unused-binds -fwarn-unused-matches -fwarn-unused-do-bind -fwarn-wrong-do-bind -pgmPcpphs -optP--cpp -rtsopts -threaded -funbox-strict-fields -fwarn-missing-signatures -fno-warn-name-shadowing

benchmark large-hashable-benchmark
    type: exitcode-stdio-1.0
    main-is: Main.hs
    build-depends:
        base >=4.8 && <5,
        base16-bytestring >=0.1.1.6,
        large-hashable >=0.1.0.0,
        safecopy >=0.9.0.1,
        text >=1.2.2.1,
        deepseq >=1.4.1.1,
        cryptohash >=0.11.9,
        bytestring >=0.10.6.0,
        cereal >=0.5.1.0,
        byteable >=0.1.1,
        transformers >=0.4.2.0,
        bytes >=0.15.2
    default-language: Haskell2010
    hs-source-dirs: benchmark
    other-modules:
        Data.LargeHashable.Benchmarks.CryptoHash
        Data.LargeHashable.Benchmarks.Main
        Data.LargeHashable.Benchmarks.Serial
    ghc-options: -optc -O3 -fno-cse -threaded -rtsopts -with-rtsopts=-N -W -fwarn-unused-imports -fwarn-unused-binds -fwarn-unused-matches -fwarn-unused-do-bind -fwarn-wrong-do-bind -pgmPcpphs -optP--cpp -rtsopts -threaded -funbox-strict-fields -fwarn-missing-signatures -fno-warn-name-shadowing -O2