packages feed

cache-0.1.1.2: cache.cabal

name:           cache
version:        0.1.1.2
synopsis:       An in-memory key/value store with expiration support
homepage:       https://github.com/hverr/haskell-cache#readme
license:        BSD3
license-file:   LICENSE
author:         Henri Verroken
maintainer:     henriverroken@gmail.com
copyright:      2016 Henri Verroken
category:       Data, Cache
build-type:     Simple
cabal-version:  >= 1.10
tested-with:    GHC == 7.10.3, GHC == 8.0.1
bug-reports:    https://github.com/hverr/haskell-cache/issues
description:
    An in-memory key/value store with expiration support, similar
    to patrickmn/go-cache for Go.
    .
    The cache is a shared mutable HashMap implemented using STM and
    with support for expiration times.

library
  ghc-options:         -Wall
  hs-source-dirs:      src
  exposed-modules:     Data.Cache
                     , Data.Cache.Internal
  build-depends:       base >= 4.8 && < 5
                     , clock >= 0.7 && < 0.9
                     , hashable >= 1.0.1.1
                     , stm >= 2.2 && < 3
                     , transformers >= 0.4.2 && < 0.6
                     , unordered-containers >= 0.2.2 && < 0.3
  default-language:    Haskell2010

test-suite cache-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       Data.CacheSpec
  build-depends:       base
                     , cache
                     , clock
                     , hspec
                     , stm
                     , transformers
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/hverr/cache