name:            bloomfilter
version:         2.0.1.0
x-revision: 2
license:         BSD3
license-file:    LICENSE
author:          Bryan O'Sullivan <[email protected]>
maintainer:      Bryan O'Sullivan <[email protected]>
homepage:        https://github.com/bos/bloomfilter
bug-reports:     https://github.com/bos/bloomfilter/issues
description:     Pure and impure Bloom Filter implementations.
synopsis:        Pure and impure Bloom Filter implementations.
category:        Data
stability:       provisional
build-type:      Simple
cabal-version:   >= 1.8
extra-source-files: README.markdown cbits/lookup3.c cbits/lookup3.h
                examples/Makefile examples/SpellChecker.hs examples/Words.hs

library
 build-depends:
   array,
   base       >= 4.4 && < 4.16,
   bytestring >= 0.9,
   deepseq
 exposed-modules:  Data.BloomFilter
                   Data.BloomFilter.Easy
                   Data.BloomFilter.Mutable
                   Data.BloomFilter.Hash
 other-modules:    Data.BloomFilter.Array
                   Data.BloomFilter.Mutable.Internal
                   Data.BloomFilter.Util
 c-sources:        cbits/lookup3.c
 ghc-options:      -O2 -Wall
 include-dirs:     cbits
 includes:         lookup3.h
 install-includes: lookup3.h

test-suite tests
 type:           exitcode-stdio-1.0
 hs-source-dirs: tests
 main-is:        QC.hs
 other-modules:  QCSupport
 build-depends:
   QuickCheck >= 2.5,
   base >= 4.4 && < 4.16,
   bloomfilter,
   bytestring,
   random,
   test-framework,
   test-framework-quickcheck2

source-repository head
 type:     git
 location: git://github.com/bos/bloomfilter.git

source-repository head
 type:     mercurial
 location: https://bitbucket.org/bos/bloomfilter