packages feed

store-0.1.0.0: store.cabal

-- This file has been generated from package.yaml by hpack version 0.14.0.
--
-- see: https://github.com/sol/hpack

name:                store
version:             0.1.0.0
synopsis:            Fast binary serialization
homepage:            https://github.com/fpco/store#readme
bug-reports:         https://github.com/fpco/store/issues
license:             MIT
license-file:        LICENSE
maintainer:          Michael Sloan <sloan@fpcomplete.com>
copyright:           2016 FP Complete
category:            Serialization, Data
build-type:          Simple
cabal-version:       >= 1.10

extra-source-files:
    ChangeLog.md
    README.md

source-repository head
  type: git
  location: https://github.com/fpco/store

flag comparison-bench
  manual: True
  default: False

flag small-bench
  default: False
  manual: True

library
  hs-source-dirs:
      src
  exposed-modules:
      Data.Store
      Data.Store.Internal
      Data.Store.Streaming
      Data.Store.TH
      Data.Store.TH.Internal
      Data.Store.TypeHash
      Data.Store.TypeHash.Internal
      System.IO.ByteBuffer
  other-modules:
      Data.Store.Impl
  build-depends:
      base >= 4.7 && < 5
    , array
    , base-orphans
    , bytestring
    , containers
    , cryptohash
    , deepseq
    , fail
    , ghc-prim
    , hashable
    , hspec
    , hspec-smallcheck
    , integer-gmp
    , mono-traversable
    , primitive
    , safe
    , smallcheck
    , syb
    , template-haskell
    , text
    , th-lift
    , th-lift-instances >= 0.1.6
    , th-utilities
    , th-reify-many
    , time
    , transformers
    , unordered-containers
    , vector
    , conduit
    , lifted-base
    , monad-control
    , resourcet
    , semigroups
    , void
    , th-orphans
  default-language: Haskell2010
  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2

test-suite store-test
  type: exitcode-stdio-1.0
  hs-source-dirs:
      test
  main-is: Spec.hs
  other-modules:
      Data.Store.StreamingSpec
      Data.StoreSpec
      Data.StoreSpec.TH
      System.IO.ByteBufferSpec
  build-depends:
      base >= 4.7 && < 5
    , array
    , base-orphans
    , bytestring
    , containers
    , cryptohash
    , deepseq
    , fail
    , ghc-prim
    , hashable
    , hspec
    , hspec-smallcheck
    , integer-gmp
    , mono-traversable
    , primitive
    , safe
    , smallcheck
    , syb
    , template-haskell
    , text
    , th-lift
    , th-lift-instances >= 0.1.6
    , th-utilities
    , th-reify-many
    , time
    , transformers
    , unordered-containers
    , vector
    , conduit
    , lifted-base
    , monad-control
    , resourcet
    , semigroups
    , void
    , th-orphans
    , hspec
    , smallcheck
    , hspec-smallcheck
    , store
  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010

benchmark store-bench
  type: exitcode-stdio-1.0
  hs-source-dirs:
      bench
  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-N1 -with-rtsopts=-s -with-rtsopts=-qg
  main-is: Bench.hs
  build-depends:
      base >= 4.7 && < 5
    , array
    , base-orphans
    , bytestring
    , containers
    , cryptohash
    , deepseq
    , fail
    , ghc-prim
    , hashable
    , hspec
    , hspec-smallcheck
    , integer-gmp
    , mono-traversable
    , primitive
    , safe
    , smallcheck
    , syb
    , template-haskell
    , text
    , th-lift
    , th-lift-instances >= 0.1.6
    , th-utilities
    , th-reify-many
    , time
    , transformers
    , unordered-containers
    , vector
    , conduit
    , lifted-base
    , monad-control
    , resourcet
    , semigroups
    , void
    , th-orphans
    , criterion
    , store
  if flag(comparison-bench)
    cpp-options: -DCOMPARISON_BENCH
    build-depends:
        cereal
      , binary
      , vector-binary-instances
      , cereal-vector
  if flag(small-bench)
    cpp-options: -DSMALL_BENCH
  default-language: Haskell2010