packages feed

bloomfilter-redis-0.1.0.2: bloomfilter-redis.cabal

name:                bloomfilter-redis
version:             0.1.0.2
synopsis:            Distributed bloom filters on Redis (using the Hedis client).
description:
  Distributed bloom filters on Redis (using the Hedis client).
  .
  The hash family algorithm is partly inspired by
  Brian O\'Sullivan\'s bloomfilter package at <https://hackage.haskell.org/package/bloomfilter>.
extra-source-files:  README.md CHANGELOG.md
license:             BSD3
license-file:        LICENSE
author:              Tobias Markus <tobias AT miglix DOT eu>
maintainer:          Tobias Markus <tobias AT miglix DOT eu>
copyright:           Copyright 2016 Tobias Markus <tobias AT miglix DOT eu>
category:            Data
build-type:          Simple
cabal-version:       >=1.14
stability:           Experimental

source-repository head
  type:              git
  location:          https://github.com/hesiod/bloomfilter-redis.git

library
  ghc-options:       -Wall
  exposed-modules:   Data.RedisBloom
                   , Data.RedisBloom.Hash
                   , Data.RedisBloom.Suggestions
                   , Data.RedisBloom.Hash.FNV
                   , Data.RedisBloom.Hash.Families
  other-modules:     Data.RedisBloom.Internal
  default-language:  Haskell2010
  other-extensions:  FlexibleContexts
                   , ScopedTypeVariables
                   , TemplateHaskell
                   , OverloadedStrings
                   , GeneralizedNewtypeDeriving
                   , DeriveGeneric
                   , BangPatterns
                   , Safe
                   , CPP
  build-depends:     base       >= 4.7 && < 4.10
                   , bytestring >= 0.9 && < 0.11
                   , binary     >= 0.7 && < 0.9
                   , hashable   >= 1.2 && < 1.3
                   , hedis      >= 0.5 && < 0.9
                   , arithmoi   >= 0.3 && < 0.5
  hs-source-dirs:    src

test-suite test-bloomfilter-redis
  type:              exitcode-stdio-1.0
  main-is:           TestBloom.hs
  other-modules:     Common
  default-language:  Haskell2010
  hs-source-dirs:    test
  build-depends:     base
                   , bloomfilter-redis
                   , bytestring       >= 0.9 && < 0.11
                   , hashable         >= 1.2 && < 1.3
                   , hedis            >= 0.5 && < 0.9
                   , tasty            >= 0.8 && < 0.12
                   , tasty-rerun      >= 1.1 && < 1.2
                   , tasty-quickcheck >= 0.8 && < 0.9
                   , QuickCheck       >= 2.8 && < 2.9
                   , tasty-hunit      >= 0.9 && < 0.10

benchmark bench-bloomfilter-redis
  ghc-options:       -O2
  type:              exitcode-stdio-1.0
  main-is:           Benchmark.hs
  default-language:  Haskell2010
  hs-source-dirs:    test
  build-depends:     base
                   , bloomfilter-redis
                   , random    >= 1.1 && < 1.2
                   , criterion >= 1.1 && < 1.2