packages feed

keyed-vals-mem-0.2.3.2: keyed-vals-mem.cabal

cabal-version:      3.0
name:               keyed-vals-mem
version:            0.2.3.2
license:            BSD-3-Clause
license-file:       LICENSE
maintainer:         adetokunbo@emio.la
author:             Tim Emiola
tested-with:        GHC ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.1
homepage:           https://github.com/adetokunbo/keyed-vals#readme
bug-reports:        https://github.com/adetokunbo/keyed-vals/issues
synopsis:
  Implements a keyed-vals Handle using in-process memory

description:
  keyed-vals provides a typed interface to a storage backend that allows the
  path in the storage backend to be declaratively linked to the types of data
  stored via a straightforward typeclass declaration.

  Read this [short example](https://github.com/adetokunbo/keyed-vals/tree/main/keyed-vals#example)
  for an introduction its usage.

  While the goal of [keyed-vals](https://hackage.haskell.org/package/keyed-vals) is
  to provide access to storage services like [Redis](https://redis.io), the
  abstract definition of __Handle__ also enables this in-process implementation.

  This package, keyed-vals-mem, is intended as a drop-in replacement for use in
  testing and rapid prototyping.

category:           Data, Redis
build-type:         Simple
extra-source-files:
  ChangeLog.md
  README.md

source-repository head
  type:     git
  location: https://github.com/adetokunbo/keyed-vals.git

library
  exposed-modules:  KeyedVals.Handle.Mem
  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:      -Wall -Wincomplete-uni-patterns -fwarn-tabs
  build-depends:
    , base           >=4.11     && <5.0
    , bytestring     >=0.10.8.2 && <0.11 || >=0.11.3 && <0.12.5
    , containers     >=0.6.5    && <0.8
    , keyed-vals     >=0.1      && <0.3
    , text           >=1.2.4    && <1.3  || >=2.0
    , unliftio       >=0.2.22   && <0.3
    , unliftio-core  >=0.2.0    && <0.3


test-suite integration-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  hs-source-dirs:   test
  build-depends:    base
                  , keyed-vals-mem
                  , keyed-vals-hspec-tests
                  , hspec
  default-language: Haskell2010
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs