packages feed

optimal-blocks-0.0.1: optimal-blocks.cabal

-- Initial optimal-blocks.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                optimal-blocks
version:             0.0.1
synopsis:            Optimal Block boundary determination for rsync-like behaviours
-- description:         
homepage:            https://github.com/tsuraan/optimal-blocks
license:             BSD3
license-file:        LICENSE
author:              Jay Groven
maintainer:          tsuraan@gmail.com
-- copyright:           
category:            Data
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10

executable chunk
  main-is:             Main.hs
  build-depends:       base >=4.6 && <4.8
                     , bytestring >=0.10 && <0.12
                     , cryptohash
                     , deepseq
                     , hex
                     , vector
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -O2 -fllvm -Wall -fprof-auto

library
  exposed-modules:     Algorithm.OptimalBlocks
                     , Algorithm.OptimalBlocks.SipHash
                     , Algorithm.OptimalBlocks.BuzzHash
  -- other-modules:       
  other-extensions:    BangPatterns, CPP, GeneralizedNewtypeDeriving, RecordWildCards
  build-depends:       base >=4.6 && <4.8
                     , bytestring >=0.10 && <0.12
                     , deepseq
                     , vector
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -O2 -fllvm -Wall -fprof-auto

benchmark benchmark-all
  type:                exitcode-stdio-1.0
  hs-source-dirs:      benches
  main-is:             BenchAll.hs
  build-depends:       base
                     , bytestring
                     , criterion
                     , deepseq
                     , optimal-blocks
                     , vector
  default-language:    Haskell2010
  ghc-options:         -O2 -fllvm -Wall -fprof-auto

Test-Suite test-all
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             TestAll.hs
  build-depends:       base
                     , bytestring
                     , bytestring-arbitrary
                     , deepseq
                     , optimal-blocks
                     , QuickCheck
                     , vector
  default-language:    Haskell2010
  ghc-options:         -O2 -fllvm -Wall -fprof-auto